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

A071339
a(n) = the maximum number of lattice points touched by an origin-centered circle with radius <= n.
9
1, 4, 4, 8, 8, 12, 12, 12, 12, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 36, 36, 36
OFFSET
0,2
FORMULA
a(n) = max(i=0 to n^2) A004018(i)
EXAMPLE
a(5 to 8)=12 because the circle with radius 5 touches 12 lattice points: (+-1,+-2), (+-2,+-1), (+-5,0), (0,+-5); but no circle touches more, until the radius is sqrt(65).
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Hugo Pfoertner, May 22 2002
EXTENSIONS
Edited by Don Reble, Nov 06 2005
STATUS
approved