Factorions: Difference between revisions
→{{header|Ring}}
Line 1,081:
see "working..." + nl
for n =
Digits = []
sumFact = 0
Line 1,107:
<pre>
working...
1! = 1 = 1
2! = 2 = 2
1! + 4! + 5! = 1 + 24 + 120 = 145
4! + 0! + 5! + 8! + 5! = 24 + 1 + 120 + 40320 + 120 = 40585
|