OFFSET
2,2
PROG
(PARI) \\ define the function a002034(n) as in A002034
a354861(n) = sumdigits(a002034(n)!, n); \\ Felix Fröhlich, Jun 09 2022
(Python) # uses A002034(n)
from math import factorial
from sympy.ntheory.digits import digits
def a(n): return sum(digits(factorial(A002034(n)), n)[1:])
print([a(n) for n in range(2, 76)]) # Michael S. Branicky, Jun 09 2022
CROSSREFS
KEYWORD
base,nonn
AUTHOR
Max Alekseyev, Jun 09 2022
STATUS
approved