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”).

A036701
a(n)=number of Gaussian integers z=a+bi satisfying n-1<|z|<=n, a>=0, 0<=b<a.
2
0, 1, 1, 2, 3, 4, 4, 5, 6, 7, 8, 8, 8, 11, 11, 12, 11, 13, 14, 15, 16, 15, 18, 17, 18, 21, 20, 21, 21, 22, 24, 23, 26, 25, 27, 29, 25, 30, 28, 33, 31, 30, 33, 33, 36, 36, 33, 37, 37, 39, 40, 41, 41, 39, 42, 42, 46, 43, 46, 45, 47
OFFSET
0,4
MAPLE
N:= 100: A:= Array(0..N):
for a from 1 to N do
for b from 0 to a-1 do
r:= ceil(sqrt(a^2+b^2));
if r > N then break fi;
A[r]:= A[r]+1;
od od:
seq(A[i], i=0..N); # Robert Israel, Dec 18 2018
CROSSREFS
Cf. A036700.
Sequence in context: A244230 A277814 A006162 * A053756 A210436 A003004
KEYWORD
nonn
STATUS
approved