cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A228232 Number of strict Gaussian primes of norm less than or equal to n in the first quadrant.

Original entry on oeis.org

0, 1, 3, 5, 7, 9, 13, 17, 19, 23, 29, 31, 35, 41, 43, 49, 57, 63, 69, 75, 83, 89, 93, 99, 109, 117, 123, 133, 141, 149, 157, 167, 175, 187, 197, 207, 215, 225, 233, 239, 253, 267, 273, 287, 297, 309, 319, 335, 351, 361, 369, 385, 403, 415, 425, 439, 453, 465, 481, 495
Offset: 1

Views

Author

Olivier Gérard, Aug 17 2013

Keywords

Comments

A Gaussian integer is counted if it has a positive real part and a positive imaginary part (first quadrant excluding the axes).

Crossrefs

Cf. A001182 (number of strict Gaussian integers in the first quadrant).
Cf. A062711 (counts the Gaussian primes on axes also).
Cf. A228233 (version of this sequence including the axes).

Programs

  • Mathematica
    nn = 60; t = Select[Flatten[Table[a + b*I, {a, nn}, {b, nn}]], PrimeQ[#, GaussianIntegers -> True] &]; Table[Length[Select[t, Abs[#] <= n &]], {n, nn}] (* T. D. Noe, Aug 19 2013 *)