OFFSET
1,1
COMMENTS
Also: for p>6, primes of the form 24*k +/-1 or +-5. - Zak Seidov Feb 01 2008.
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..1000
MAPLE
with(numtheory); t1:=[]; for n from 1 to 500 do p:=ithprime(n); if quadres(6, p) = 1 then t1:=[op(t1), p]; fi; od: t1;
MATHEMATICA
Select[Prime[Range[3000]], JacobiSymbol[6, #]!=-1&] (* Vincenzo Librandi, Jul 13 2012 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
STATUS
approved