OFFSET
1,1
COMMENTS
Discriminant = -288. See A107132 for more information.
All terms are of the form x^2 + y^2, see A002144. - Zak Seidov, Jan 26 2014
LINKS
Vincenzo Librandi and Ray Chandler, Table of n, a(n) for n = 1..10000 [First 1000 terms from Vincenzo Librandi]
N. J. A. Sloane et al., Binary Quadratic Forms and OEIS (Index to related sequences, programs, references)
FORMULA
The primes are congruent to 17 (mod 24). - T. D. Noe, May 02 2008
MATHEMATICA
QuadPrimes2[8, 0, 9, 10000] (* see A106856 *)
PROG
(Magma) [ p: p in PrimesUpTo(5000) | p mod 24 eq 17 ]; // Vincenzo Librandi, Apr 19 2011
(PARI) list(lim)=my(v=List()); forprime(p=17, lim, if(p%24==17, listput(v, p))); Vec(v) \\ Charles R Greathouse IV, Feb 10 2017
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
T. D. Noe, May 13 2005
STATUS
approved