OFFSET
1,1
COMMENTS
First differences are multiples of 4 (which follows from set of differences of the moduli in the Noe formula). Minimal difference 4 occurs at a(1)=17, a(25)=673, a(48)=1297, etc. - Zak Seidov, Oct 04 2014
REFERENCES
David A. Cox, "Primes of the Form x^2 + n y^2", Wiley, 1989.
LINKS
Vincenzo Librandi and Ray Chandler, Table of n, a(n) for n = 1..10000 [First 3000 terms from Vincenzo Librandi]
N. J. A. Sloane et al., Binary Quadratic Forms and OEIS (Index to related sequences, programs, references)
FORMULA
Same as primes congruent to {1, 9, 13, 17, 25, 29, or 49} (mod 52). - T. D. Noe, Apr 29 2008 [See e.g. Cox, p. 36. - N. J. A. Sloane, May 27 2014]
a(n) ~ 4n log n. - Charles R Greathouse IV, Nov 09 2012
MATHEMATICA
QuadPrimes2[1, 0, 13, 10000] (* see A106856 *)
PROG
(PARI) select(n->vecsearch([1, 9, 13, 17, 25, 29, 49], n%52), primes(100)) \\ Charles R Greathouse IV, Nov 09 2012
(PARI) is_A033210(n)={vecsearch([1, 9, 13, 17, 25, 29, 49], n%52)&&isprime(n)} \\ setsearch() is still slower by a factor > 2. - M. F. Hasler, Oct 04 2014
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved