OFFSET
1,1
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..58
FORMULA
a(n) = (n + A139072(n)!)/n. - Amiram Eldar, Oct 14 2024
MATHEMATICA
a = {}; Do[ k = 1; While[ ! PrimeQ[ (k! + n)/n ], k++ ]; AppendTo[ a, (k! + n)/n ], {n, 1, 100} ]; a [Corrected May 06 2008]
PROG
(PARI) a(n)=my(k, t); until(denominator(t=k++!/n+1)==1&&ispseudoprime(t), ); t \\ Charles R Greathouse IV, Jul 19 2011
CROSSREFS
KEYWORD
nonn
AUTHOR
Artur Jasinski, Apr 07 2008
STATUS
approved