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
KEYWORD
nonn
AUTHOR
Joie Geurts, Aug 19 2019
STATUS
approved