HP Forums

Full Version: HP 38G, 39G/GS, 40G/GS - Sum Function in Sequence App
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Does the sum function (Greek capital sigma) function in the Sequence App?

This programme

Code:

RECURSE(U,(INT(N)MOD 10)+ (INT(N/10)MOD 10)+( INT(N/100)MOD 10)+( INT(N/1000)MOD 10)+( INT(N/10000)MOD 10)+( INT(N/100000)MOD 10)+( INT(N/1000000)MOD 10)+( INT(N/10000000)MOD 10)+ (INT(N/100000000)MOD 10)+ (INT(N/1000000000)MOD 10)+ (INT(N/10000000000)MOD 10)+ (INT(N/100000000000)MOD 10),1,2)►U1(N):
CHECK 1:

inserts symbolics in the Sequence App to calculate the digital sum of N, sadly my attempts to shorten the programme using the sum function only led to frustration & dysfunction.

Suggestions please.
Reference URL's