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