OFFSET
1,4
FORMULA
a(n) = 1 + Legendre(2,prime(n)).
CROSSREFS
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Jun 22 2013
STATUS
approved