OFFSET
1,1
COMMENTS
Also primes of the form x^2 + 120y^2. - T. D. Noe, Apr 29 2008
In base 12, the sequence is 181, 2X1, 421, 541, 701, 7X1, 841, 881, 921, X41, E21, 1061, 1261, 1301, 13X1, 1561, 1681, 18X1, 1921, 1981, 1X01, 1E41, 2061, 2221, 2301, 2481, 2521, 26X1, 2781, 28X1, 2941, 2X61, 3021, 3081, 31X1, 3241, 3281, 3321, 3361, 34X1, 3661, 3821, 3901, where X is 10 and E is 11. Moreover, the discriminant is 340. - Walter Kehowski, Jun 01 2008
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..1000
N. J. A. Sloane et al., Binary Quadratic Forms and OEIS (Index to related sequences, programs, references)
FORMULA
The primes are congruent to {1, 49} (mod 120). - T. D. Noe, Apr 29 2008
MATHEMATICA
QuadPrimes2[1, 0, 120, 10000] (* see A106856 *)
PROG
(Magma) [ p: p in PrimesUpTo(7000) | p mod 120 in {1, 49}]; // Vincenzo Librandi, Jul 28 2012
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Artur Jasinski, Apr 24 2008
STATUS
approved