login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A222593
Pairs of numbers (a,b) such that a + b*I is a first-quadrant Gaussian prime, ordered by a+b and then a.
5
1, 1, 0, 3, 1, 2, 2, 1, 3, 0, 1, 4, 2, 3, 3, 2, 4, 1, 0, 7, 1, 6, 2, 5, 5, 2, 6, 1, 7, 0, 2, 7, 4, 5, 5, 4, 7, 2, 0, 11, 1, 10, 3, 8, 5, 6, 6, 5, 8, 3, 10, 1, 11, 0, 3, 10, 4, 9, 5, 8, 8, 5, 9, 4, 10, 3, 1, 14, 2, 13, 4, 11, 7, 8, 8, 7, 11, 4, 13, 2, 14, 1
OFFSET
1,4
COMMENTS
Gaussian primes on the positive real and imaginary axes are included. Note that the primes are ordered by their taxicab distance from the origin.
LINKS
T. D. Noe, Table of n, a(n) for n = 1..1662 (taxicab distance less than 100)
MATHEMATICA
nn = 20; t = {}; Do[If[PrimeQ[i + (j - i) I, GaussianIntegers -> True], AppendTo[t, {i, j-i}]], {j, 0, nn}, {i, 0, j}]; Flatten[t]
CROSSREFS
Cf. A218858, A218859 (number of Gaussian primes at taxicab distance n).
Sequence in context: A134658 A296518 A111951 * A107033 A115110 A066635
KEYWORD
nonn
AUTHOR
T. D. Noe, Feb 27 2013
STATUS
approved