(12C) Gauss Sum Sequence
07-20-2018, 09:36 AM (This post was last modified: 07-20-2018 09:41 AM by Gamo.)
Post: #1
 Gamo Senior Member Posts: 711 Joined: Dec 2016
(12C) Gauss Sum Sequence
Program to develop the Gauss sum sequences.

More detail on Gauss sum here
https://en.wikipedia.org/wiki/Gauss_sum

S is the sum of the series.
n is the number of terms in the series.

S = ( 1 + 2 + 3 + ........... + n )

Formula: S = n(n+1) ÷ 2

Example: f [REG]

99 [R/S] --> 4950 ---> 100 ---> 5050 ---> 101 ---> 5151 ...........

Developed sequence:
99 sum is 4950
100 sum is 5050
101 sum is 5151..... and keep on going, to stop press any button except [ON]
To continue simply press [R/S]

Program: Develop Gauss Sum Sequence
Quote:01 STO 0
02 RCL 0
03 PSE
04 1
05 +
06 RCL 0
07 x
08 2
09 ÷
10 PSE
11 PSE
12 RCL 0
13 1
14 STO+0
15 GTO 02

Gamo
11-09-2018, 11:54 AM
Post: #2
 Gamo Senior Member Posts: 711 Joined: Dec 2016
RE: (12C) Gauss Sum Sequence
Little Gauss Sum program.

This small program might be good as an add-on to program that needed.

Example:

100 R/S 5050

Code:
 01 ENTER 02  x 03 LSTx 04  + 05  2 06  ÷

Gamo
 « Next Oldest | Next Newest »

User(s) browsing this thread: 1 Guest(s)