login
A118492
Number of Gaussian primes with floor(abs(p)) = n.
0
1, 1, 2, 1, 1, 2, 3, 1, 2, 3, 2, 2, 3, 1, 3, 4, 3, 3, 4, 4, 3, 2, 4, 5, 4, 3, 5, 4, 4, 4, 6, 4, 6, 5, 5, 4, 5, 4, 3, 7, 7, 3, 8, 5, 6, 5, 9, 8, 5, 4, 8, 9, 6, 5, 7, 7, 6, 8, 8, 8, 7, 6, 8, 7, 9, 8, 8, 7, 8, 9, 6, 10, 8, 7, 11, 9, 6, 10, 13, 8, 10, 10, 8, 8, 10, 12, 10, 11, 11, 9, 10, 10, 11, 10, 11, 11
OFFSET
1,3
FORMULA
a(n) = A077766(n) + 1 if n is 1 or a prime = 3 (mod 4), A077766(n) otherwise.
CROSSREFS
Cf. A077766.
Sequence in context: A219794 A351469 A286334 * A079246 A309014 A070990
KEYWORD
easy,nonn
AUTHOR
STATUS
approved