login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A007882 Number of lattice points inside circle of radius n is 4(a(n)+n)-3. 1

%I #17 Jun 24 2022 04:41:25

%S 0,1,4,8,13,22,30,41,54,67,83,98,117,139,160,183,206,234,263,292,322,

%T 357,390,424,461,502,545,585,626,673,719,770,819,870,926,977,1034,

%U 1090,1153,1214,1272,1339,1404,1475,1543,1610,1683,1755,1832,1907,1990,2070,2147

%N Number of lattice points inside circle of radius n is 4(a(n)+n)-3.

%C 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

%D R. K. Guy, Unsolved Problems in Number Theory, F1.

%o (Haskell)

%o a007882 n = length [(x, y) | x <- [1..n], y <- [1..n], x^2 + y^2 < n^2]

%o -- _Arkadiusz Wesolowski_, Nov 12 2017

%K nonn

%O 1,3

%A _Randall L Rathbun_

%E More terms from _Arkadiusz Wesolowski_, Nov 12 2017

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified July 12 19:59 EDT 2024. Contains 374252 sequences. (Running on oeis4.)