|
|
A116988
|
|
Sum of digits of (10^n)!.
|
|
2
|
|
|
|
OFFSET
|
0,2
|
|
COMMENTS
|
Cf. A004152 Sum of digits of factorial numbers, A113364 1,27,648,16245,... with first three terms coinciding with this SEQ.
|
|
LINKS
|
|
|
EXAMPLE
|
a(1)=27 because 10!=3628800 and 3+6+2+8+8+0+0=27.
|
|
MATHEMATICA
|
Do[Print[Total[IntegerDigits[(10^n)! ]]], {n, 0, 7}]
|
|
PROG
|
(Python)
from math import factorial
return sum(int(d) for d in str(factorial(10**n))) # Chai Wah Wu, May 21 2018
|
|
CROSSREFS
|
|
|
KEYWORD
|
hard,more,nonn,base
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|