10-24-2016, 10:47 AM
Does the sum function (Greek capital sigma) function in the Sequence App?
This programme
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.
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.