OFFSET
1,1
COMMENTS
LINKS
David Dewan, Table of n, a(n) for n = 1..93
David Dewan, Drawings for A373008.
FORMULA
{ r : 2*Sum_{k=1..r-1} floor(2*sqrt(r^2 - k^2)) > 2*Sum_{k=1..r-1} floor(2*sqrt(r^2 - (k+1/2)^2)) + 2*r - 1 }.
EXAMPLE
Radius 2*r-2 rows 2*r-1 rows
19 1072 squares 1071 squares
52 8332 squares 8331 squares
65 13076 squares 13073 squares
MATHEMATICA
lessRows[r_] := 2 Sum[Floor[2 Sqrt[r^2 - k^2]], {k, r - 1}]
moreRows[r_] := 2 Sum[Floor[2 Sqrt[r^2 - (k + 1/2)^2]], {k, r - 1}] + 2 r - 1
Select[Range@100, lessRows[#] > moreRows[#] &]
CROSSREFS
KEYWORD
nonn
AUTHOR
David Dewan, May 19 2024
STATUS
approved