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

A007882
Number of lattice points inside circle of radius n is 4(a(n)+n)-3.
1
0, 1, 4, 8, 13, 22, 30, 41, 54, 67, 83, 98, 117, 139, 160, 183, 206, 234, 263, 292, 322, 357, 390, 424, 461, 502, 545, 585, 626, 673, 719, 770, 819, 870, 926, 977, 1034, 1090, 1153, 1214, 1272, 1339, 1404, 1475, 1543, 1610, 1683, 1755, 1832, 1907, 1990, 2070, 2147
OFFSET
1,3
COMMENTS
Number of ordered pairs of integers (x, y) such that x^2+y^2 < n^2 with x, y > 0. - Arkadiusz Wesolowski, Nov 13 2017
REFERENCES
R. K. Guy, Unsolved Problems in Number Theory, F1.
PROG
(Haskell)
a007882 n = length [(x, y) | x <- [1..n], y <- [1..n], x^2 + y^2 < n^2]
-- Arkadiusz Wesolowski, Nov 12 2017
CROSSREFS
Sequence in context: A038793 A036709 A052115 * A265258 A009852 A323951
KEYWORD
nonn
EXTENSIONS
More terms from Arkadiusz Wesolowski, Nov 12 2017
STATUS
approved