The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A300416 Number of prime Eisenstein integers z = x - y*w^2 with |z| <= n and where w = -1/2 + i*sqrt(3)/2 is a primitive cube root of unity. 0
0, 2, 4, 6, 9, 11, 15, 17, 23, 25, 30, 34, 40, 44, 50, 54, 61, 65, 71, 79, 87, 91, 98, 104, 114, 122, 128, 138, 147, 155, 161, 171, 183, 193, 199, 209, 217, 225, 237, 249, 262, 276, 286, 296, 308, 318, 331, 345, 359, 365, 377, 391, 410, 418, 428 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
Two prime Eisenstein integers are not counted separately if they are associated, i.e., if their quotient is a unit (1, -w^2, w, -1, w^2 or -w).
LINKS
Eric Weisstein's World of Mathematics, Eisenstein prime
Wikipedia, Eisenstein integer.
EXAMPLE
a(7)=15 because the Eisenstein primes whose modulus <= 7 are 1-w^2, 1-2w^2, 1-3w^2, 1-5w^2, 1-6w^2, 2, 2-w^2, 2-3w^2, 3-w^2, 3-2w^2, 3-4w^2, 4-3w^2, 5, 5-w^2, 6-w^2.
MATHEMATICA
a[n_] := Module[{w2=-1/2-I*Sqrt[3]/2, lst={}, x, y, z, Nz}, Do[z=x-w2*y; Nz=x^2+x*y+y^2; If[y==0&&Mod[Sqrt[Nz], 3]==2&&Sqrt[Nz]<=n&&PrimeQ[Sqrt[Nz]], AppendTo[lst, {x, y}], If[Mod[Nz, 3]!=2&&Sqrt[Nz]<=n&&PrimeQ[Nz], AppendTo[lst, {x, y}]]], {x, 0, n}, {y, 0, n}]; Length@lst]; Array[a, 100]
CROSSREFS
Sequence in context: A164286 A054519 A168434 * A353134 A038107 A303331
KEYWORD
nonn
AUTHOR
Frank M Jackson and Michael B Rees, Mar 05 2018
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 13 05:55 EDT 2024. Contains 372498 sequences. (Running on oeis4.)