OFFSET
1,3
COMMENTS
Conjecture: a(n) > 0 for all n > 0. - Franklin T. Adams-Watters, May 05 2006
REFERENCES
Mark A. Herkommer, "Number Theory, A Programmer's Guide," McGraw-Hill, New York, 1999, page 269.
FORMULA
a(n) = A069004(n) + 1 if n is 1 or a prime = 3 (mod 4), A069004(n) otherwise. - Franklin T. Adams-Watters, May 05 2006
a(n) = O(n/log(n)). - Thomas Ordowski, Mar 06 2017
MATHEMATICA
Do[ c=0; Do[ If[ PrimeQ[ j + k*I, GaussianIntegers -> True ], c++ ], {j, n, n}, {k, 0, j} ]; Print[ c ], {n, 1, 75} ]
CROSSREFS
KEYWORD
nonn
AUTHOR
Robert G. Wilson v, Sep 22 2000
EXTENSIONS
More terms from Franklin T. Adams-Watters, May 05 2006
STATUS
approved