OFFSET
0,1
COMMENTS
LINKS
Harry J. Smith, Table of n, a(n) for n=0,...,1000
EXAMPLE
Between 29 and 31 the only composite is 30, a squarefree number. If next(p)-p>2, a nonsquarefree integer always arises between them.
PROG
(PARI) { n=0; p=3; f="b061351.txt"; write(f, "0 2"); forprime (q=5, 355723, if (q-p == 2, if (issquarefree(p+1), write(f, n++, " ", p))); p=q ) } \\ Harry J. Smith, Jul 21 2009
CROSSREFS
KEYWORD
nonn
AUTHOR
Labos Elemer, Jun 07 2001
STATUS
approved