You can even make plots, if you like:
A. For finite sums, store the following program in the variable
'§PLT':
(like in my previous listings, § represents the Greek letter sigma
(Shift+V))
<<
CLLCD
-> v ii fi s
<<
'PPAR' PURGE
CL§
1 2 COL§
"$="
'v' EVAL ->STR
DUP SIZE 1 - 2 SWAP SUB "=" +
0 ii fi
FOR x
x 'v' EVAL STO s EVAL +
x DUP2
->STR 5 PICK SWAP + 2 DISP
->STR 5 PICK SWAP + 1 DISP
OVER 2 ->ARRY §+
NEXT "STARTING PLOTTER..." 4 DISP 3 WAIT
SWAP ROT DROP2 'v' EVAL PURGE
SCL§ CLLCD DRW§ DGTIZ
>>
>>
To run the program, put the following 4 arguments on the stack and
press §PLT:
4: name of index variable
3: initial value of index variable
2: final value of index variable
1: summand, expressed as an ordinary algebraic (for example: 'n^2')
In a first phase, the program will display both the running index and
the running sum, so you can easily monitor the sum as it accumulates.
When the calculations are done, the screen is cleared and the
corresponding plot is drawn. (Naturally, this will create, or modify,
the reserved variables PPAR, §DAT and §PAR in the current directory.)
In the plot environment:
Press and hold down the <^v> key to display the current coordinates.
Press INS to return the current pair of coordinates to the stack.
Press ON to return to the stack.
When you quit the plot environment, the calculated sum will be
available on the stack for further calculations.
Optionally you can press §DAT (in the current directory) SHIFT+EDIT,
and you will see a nice table of values, with the index values in the
first column and the corresponding sums in the second.
Try this one, for instance:
4: 'n'
3: 1
2: 65
1: 'n^7/2^n'
§PLT
...and compare:
http://www.wolframalpha.com/input/?i=%28sum_{n%3D1}^50+n^7%2F2^n%29
In the Plot environment, press ON to return to the stack (notice that
the result 94586 is preserved fot further calculations), then press
$DAT SHIFT+EDIT to see the corresponding table of values.
B. For infinite sums, store the following program in the variable
'I§PLT':
<<
CLLCD
-> v ii s
<<
'PPAR' PURGE
CL§
1 2 COL$
"$=" s 0 ii
DO
DUP 'v' EVAL STO
3 PICK EVAL
3 PICK +
SWAP DUP 1 +
4 ROLLD OVER 2 ->ARRY §+
DUP ->STR 6 PICK SWAP + 1 DISP
DUP 4 ROLLD
UNTIL ==
END "STARTING PLOTTER..." 3 DISP 3 WAIT
ROT DROP2 SWAP DROP 'v' EVAL PURGE
SCL§ CLLCD DRW§ DGTIZ
>>
>>
Since the final index value is +oo, I§PLT takes only 3 arguments:
3: name of index variable
2: initial value of index variable
1: summand
For the same reason, no running index is shown in the first phase of
the program (only the running sum).
Here is an example:
3: 'X'
2: 3
1: 'X^2/2^X'
I§PLT
For comparison:
http://www3.wolframalpha.com/input/?i=%28sum_{n%3D3}^%2Boo+n^2%2F2^n%29