Write an algorithm to print the given series. 5,10,15,20,25
Answers
Answered by
0
Explanation:
,
10
,
15
,
20
,
25
,
30
This is an arithmetic sequence since there is a common difference between each term. In this case, adding
5
to the previous term in the sequence gives the next term. In other words,
a
n
=
a
1
+
d
(
n
−
1
)
.
Arithmetic Sequence:
d
=
5
This is the formula of an arithmetic sequence.
a
n
=
a
1
+
d
(
n
−
1
)
Substitute in the values of
a
1
=
5
and
d
=
5
.
a
n
=
5
+
(
5
)
(
n
−
1
)
Simplify each term.
Tap for more steps...
a
n
=
5
+
5
n
−
5
Combine the opposite terms in
5
+
5
n
−
5
.
Tap for more steps...
a
n
=
5
n
Similar questions