OFFSET
1,1
COMMENTS
Contribution from Cino Hilliard, Sep 06 2004: (Start)
Also primes p such that p divides 3^(p-1)/2 + 2^(p-1)/2.
Also primes p such that p divides 6^(p-1)/2 + 1.
Also primes p such that p divides 6^(p-1)/2 + 4^(p-1)/2. (End)
Inert rational primes in the field Q(sqrt(6)). - Alonso del Arte, Oct 14 2012
Primes congruent to 7, 11, 13, or 17 mod 24.
LINKS
FORMULA
a(n) ~ 2n log n. - Charles R Greathouse IV, Oct 15 2012
EXAMPLE
17 is in the sequence because there is no solution to the equation x^2 - 6y = 17 in integers.
19 is NOT in the sequence because x^2 - 6y = 19 has solutions in integers, as does x^2 - 6y^2 = 19, e.g., x = 5, y = 1, and therefore (5 - sqrt(6))*(5 + sqrt(6)) = 19.
MATHEMATICA
Select[Prime@Range[120], JacobiSymbol[6, #] == -1 &] (* Vincenzo Librandi, Sep 08 2012 *)
PROG
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
EXTENSIONS
Offset changed from 0 to 1 by Vincenzo Librandi, Sep 08 2012
STATUS
approved