OFFSET
1,1
COMMENTS
Discriminant = -72.
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
Primes congruent to 1,19 modulo 24. - Michael Somos, Aug 19 2006
MATHEMATICA
QuadPrimes2[1, 0, 18, 10000] (* see A106856 *)
PROG
(PARI) {a(n)= my(m, c); if(n<1, 0, c=0; m=0; while( c<n, m++; if( isprime(m)& m%24==1||m%24==19, c++)); m)} /* Michael Somos, Aug 19 2006 */
(Magma) [ p: p in PrimesUpTo(2000) | p mod 24 in {1, 19} ]; // Vincenzo Librandi, Jul 22 2012
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
T. D. Noe, May 09 2005
STATUS
approved