OFFSET
1,1
COMMENTS
Always a multiple of 4. Useful for rasterizing circles.
REFERENCES
J. H. Conway and N. J. A. Sloane, "Sphere Packings, Lattices and Groups", Springer-Verlag, p. 106.
EXAMPLE
a(2)=12 because (-1,0); (-1,1); (0,-1); (0,0); (0,1); (0,2); (1,-1); (1,0); (1,1); (1,2); (2,0); (2,1) are covered by any disc of radius between sqrt(2.5) and sqrt(4.5) and centered at (0.5,0.5).
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Ken Takusagawa, Oct 15 2000
STATUS
approved