OFFSET
1,1
LINKS
D. Wilson, Table of n, a(n) for n = 1..10000
MATHEMATICA
a[n_] := For[k = 2, True, k++, If[ k*NextPrime[n] > NextPrime[k*n], Return[k]]]; Table[a[n], {n, 1, 105}] (* Jean-François Alcover, Jul 18 2013 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
David W. Wilson, May 15 2007
STATUS
approved