OFFSET
1,1
EXAMPLE
For instance 83, the 5th term, does not differ from any square by any multiple of 3, 5, 7, 11 or 13, unlike all smaller positive integers.
PROG
(PARI) a(n) = {n++; sm = 2; ok = 0; until (ok, ok = 1; for (in = 2, n, p = prime(in); if (kronecker(sm % p, p) != -1, ok = 0; break); ); if (! ok, sm++); ); return(sm); } \\ Michel Marcus, Jul 19 2013
CROSSREFS
KEYWORD
nonn
AUTHOR
Keith F. Lynch, Feb 03 2012
STATUS
approved