login
A048844
Least positive integer k for which 19^n divides k!.
1
1, 19, 38, 57, 76, 95, 114, 133, 152, 171, 190, 209, 228, 247, 266, 285, 304, 323, 342, 361, 361, 380, 399, 418, 437, 456, 475, 494, 513, 532, 551, 570, 589, 608, 627, 646, 665, 684, 703, 722, 722, 741, 760, 779, 798, 817, 836, 855, 874, 893
OFFSET
0,2
PROG
(Python)
from itertools import count
from sympy import multiplicity
def A048844(n):
if n == 0: return 1
c = 0
for k in count(19, 19):
c += multiplicity(19, k)
if c+k+19 > n:
return 19*(max(k, n-c) if n>=19 else n+1-c) # Chai Wah Wu, Feb 24 2026
CROSSREFS
See A007843 for more information.
Sequence in context: A040342 A164009 A235030 * A008601 A390696 A033900
KEYWORD
nonn
AUTHOR
Charles T. Le (charlestle(AT)yahoo.com)
STATUS
approved