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!)
A333572 a(n) is the number of Gaussian integers z with 0 < |z| <= n/2. 3
0, 4, 8, 12, 20, 28, 36, 48, 68, 80, 96, 112, 136, 148, 176, 196, 224, 252, 292, 316, 348, 376, 420, 440, 488, 528, 576, 612, 664, 708, 748, 796, 860, 900, 972, 1008, 1084, 1128, 1200, 1256, 1312, 1372, 1456, 1516, 1596, 1652, 1740, 1792, 1884, 1960, 2052, 2120 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
MAPLE
N:= 100: # for a(1)..a(N)
V:= Vector(N):
for x from 1 to N/2 do
for y from 0 to x do
v:= ceil(2*sqrt(x^2+y^2));
if v > N then break fi;
if y=x or y=0 then V[v]:= V[v]+4 else V[v]:= V[v]+8 fi
od od:
ListTools:-PartialSums(convert(V, list)); # Robert Israel, Mar 29 2020
CROSSREFS
Sequence in context: A311661 A311662 A311663 * A322958 A123723 A279227
KEYWORD
nonn
AUTHOR
Hugo Pfoertner, Mar 27 2020
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 April 19 19:02 EDT 2024. Contains 371798 sequences. (Running on oeis4.)