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!)
A057352 Number of Gaussian primes (in the first half-quadrant; i.e., 0 to 45 degrees) with real part <= n. 2
1, 2, 4, 5, 7, 9, 11, 14, 15, 19, 22, 23, 27, 30, 33, 36, 40, 43, 48, 54, 56, 60, 66, 69, 76, 82, 86, 90, 94, 98, 106, 112, 117, 123, 131, 136, 142, 149, 152, 161, 166, 171, 180, 188, 195, 204, 211, 218, 228, 236 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
REFERENCES
Mark A. Herkommer, "Number Theory, A Programmer's Guide," McGraw-Hill, New York, 1999, page 269.
LINKS
MATHEMATICA
c = 0; Do[ Do[ If[ PrimeQ[ j + k*I, GaussianIntegers -> True ], c++ ], {j, n, n}, {k, 0, j} ]; Print[ c ], {n, 1, 50} ]
CROSSREFS
Cf. A055683.
Sequence in context: A056838 A045922 A258049 * A156625 A259280 A186388
KEYWORD
nonn
AUTHOR
Robert G. Wilson v, Sep 22 2000
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 July 15 12:21 EDT 2024. Contains 374332 sequences. (Running on oeis4.)