OFFSET
1,3
LINKS
Chris Boyd, Table of n, a(n) for n = 1..10000
FORMULA
EXAMPLE
a(10) = 3 because 3 is the gap between prime(10) = 29 and the closest smaller squarefree number 26.
PROG
(PARI) forprime(p=1, 450, forstep(j=p-1, 1, -1, if(issquarefree(j), print1(p-j", "); break)))
CROSSREFS
KEYWORD
nonn
AUTHOR
Chris Boyd, Apr 06 2014
STATUS
approved