login
A135461
a(n) = 1 if n is the norm of an Eisenstein prime (see A055664) otherwise 0.
4
0, 0, 0, 1, 1, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0
OFFSET
0,1
REFERENCES
L. W. Reid, The Elements of the Theory of Algebraic Numbers, MacMillan, NY, 1910, see Chap. VI.
EXAMPLE
The smallest primes are 1-omega (of norm 3) and 2 (of norm 4).
PROG
(PARI) A135461(n) = (isprime(n) && n%3<2) || (issquare(n, &n) && isprime(n) && n%3==2); \\ This is Charles R Greathouse IV's Apr 30 2013 code (with name "is") for A055664. - Antti Karttunen, Dec 06 2017
CROSSREFS
Characteristic function of A055664.
Sequence in context: A179827 A285133 A011658 * A327219 A274950 A093383
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Feb 06 2008
STATUS
approved