06
Summing Arithmetic Progressions
1. The sum up to the
difference term
C
∑
(
(
A
+
k 1
–
k
=
1
ON
MODE
MODE
?→ A:?→ B:?→ C:C(2 A +(C -1)B)÷2→ D:D < 30 STEP >
OUTPUT
D: sum of arithmetical progression
Calculate the sum up to the 10th term of the arithmetic progression with first term 1 and
difference term 3.
1+4+7+・・・+28=145
Prog
1
1
EXE
EXE
3
1
0
EXE
10
C
th term of an arithmetic progression with first term
B
, may be calculated by:
)B
)
(
=
A
+
A
+
B
C
(
(
=
--- - 2A
+
C 1
2
PRGM
MODE
...
)
(
)
+
A
+
2B
+
)B
)
–
COMP
1
MODE
1
S A
S A
S A
S A
(
(
)B
)
+
A
+
C 1
–
1
P1 P1 P2 P3 P4
D R
G
P1 P1 P2 P3 P4
D R
G
P1 P1 P2 P3 P4
D R
G
P1 P1 P2 P3 P4
D R
G
A
and