login
A309836
a(n) is the smallest k such that k/A002034(k) equals n, where A002034(k) is the k-th Kempner number.
0
1, 6, 12, 20, 35, 24, 77, 40, 63, 70, 143, 60, 221, 154, 90, 112, 323, 126, 437, 140, 189, 286, 667, 120, 275, 442, 297, 224, 899, 180, 1147, 352, 429, 646, 350, 252, 1517, 874, 663, 240, 1763, 378, 2021, 572, 315, 1334, 2491, 336, 833, 550, 969, 884, 3127
OFFSET
1,2
FORMULA
a(m!) = (m+1)! for m > 1.
a(p) = p*prime(k+1) if p = prime(k) and p >= 5.
PROG
(PARI) f(n) = if(n<0, 0, s=1; while(s!%n>0, s++); s); \\ A002034
a(n) = my(k=1); while(k/f(k) != n, k++); k; \\ Michel Marcus, Aug 19 2019
CROSSREFS
Cf. A002034 (Kempner numbers).
Sequence in context: A064971 A130199 A295904 * A117343 A286290 A240521
KEYWORD
nonn
AUTHOR
Joie Geurts, Aug 19 2019
STATUS
approved