login
A354861
Base-n digit sum of A002034(n)!.
2
1, 2, 3, 8, 1, 12, 3, 16, 3, 30, 2, 48, 22, 8, 15, 80, 6, 126, 6, 20, 63, 198, 1, 24, 50, 50, 18, 364, 4, 360, 20, 64, 165, 8, 20, 432, 182, 92, 3, 520, 38, 504, 72, 16, 225, 690, 15, 96, 56, 250, 105, 988, 42, 108, 35, 280, 399, 1334, 2, 1500, 524, 18, 63, 128, 105, 1650, 227, 340, 3, 2030, 10, 2160, 853, 62
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