(12C) Gauss Sum Sequence - Printable Version +- HP Forums (https://www.hpmuseum.org/forum) +-- Forum: HP Software Libraries (/forum-10.html) +--- Forum: General Software Library (/forum-13.html) +--- Thread: (12C) Gauss Sum Sequence (/thread-11099.html) |
(12C) Gauss Sum Sequence - Gamo - 07-20-2018 09:36 AM 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 Gamo RE: (12C) Gauss Sum Sequence - Gamo - 11-09-2018 11:54 AM Little Gauss Sum program. This small program might be good as an add-on to program that needed. Example: 100 R/S 5050 Code:
Gamo |