OFFSET
1,1
COMMENTS
These are the primes in the ring of integers a+b*omega, a and b rational integers, omega = (1+sqrt(-3))/2.
REFERENCES
R. K. Guy, Unsolved Problems in Number Theory, A16.
L. W. Reid, The Elements of the Theory of Algebraic Numbers, MacMillan, NY, 1910, see Chap. VI.
LINKS
Antti Karttunen, Table of n, a(n) for n = 1..1000 (computed from the b-file of A055666 with the formula of Franklin T. Adams-Watters)
FORMULA
a(n) = 6 * A055666(n) - Franklin T. Adams-Watters, May 05 2006
EXAMPLE
There are 6 Eisenstein-Jacobi primes of norm 3, omega-omega^2 times one of the 6 units [ +-1, +-omega, +-omega^2 ] but only one up to equivalence.
MATHEMATICA
norms = Join[{3}, Select[Range[1000], (PrimeQ[#] && Mod[#, 6] == 1) || (PrimeQ[Sqrt[#]] && Mod[Sqrt[#], 3] == 2) &]]; r[n_] := Reduce[n == a^2 - a*b + b^2, {a, b}, Integers] // Length; A055665 = r /@ norms (* Jean-François Alcover, Oct 24 2013 *)
CROSSREFS
KEYWORD
nonn,easy,nice
AUTHOR
N. J. A. Sloane, Jun 09 2000
EXTENSIONS
More terms from Franklin T. Adams-Watters, May 05 2006
STATUS
approved