OFFSET
1,4
COMMENTS
If the sides of the inscribed square are parallel to bisector of coordinate axes we have a different sequence.
LINKS
Kirill Ustyantsev, illustrated example
PROG
(Python)
import math
for n in range(1, 100):
.count = 0
.for x in range(0, n):
..for y in range(-n, n):
...if (x * x + y * y < n * n and x > n / math.sqrt(2)):
....count = count + 1
.print(4 * count)
CROSSREFS
KEYWORD
nonn
AUTHOR
Kirill Ustyantsev, Apr 27 2018
EXTENSIONS
Offset corrected by Andrey Zabolotskiy, May 05 2018
STATUS
approved