OFFSET
0,3
COMMENTS
Generalized factorials.
LINKS
Michel Marcus, Table of n, a(n) for n = 0..100
Jeffrey C. Lagarias and Wijit Yangjit, The factorial function and generalizations, extended, arXiv:2310.12949 [math.NT], 2023. See Section 7.2 p. 20 and Table 2 p. 29.
PROG
(PARI) f(n, b) = sum(i=1, logint(n, b), n\b^i);
a(n) = prod(b=2, n, b^f(n, b));
(Python)
from math import prod
from sympy import integer_log
def A363838(n): return prod(b**sum(n//b**i for i in range(1, integer_log(n, b)[0]+1)) for b in range(2, n+1)) # Chai Wah Wu, Oct 20 2023
CROSSREFS
KEYWORD
nonn
AUTHOR
Michel Marcus, Oct 20 2023
STATUS
approved
