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!)
A344421 Number of lattice points (x,y) in the region bounded by 0 < y < n*sin(x*Pi/n) for 0 < x < n. 1

%I #15 May 20 2021 10:25:36

%S 0,1,4,7,12,19,28,37,46,59,72,85,102,117,136,155,176,195,220,247,272,

%T 299,324,355,388,421,450,485,520,559,600,637,678,719,766,807,856,897,

%U 952,999,1052,1101,1156,1215,1266,1327,1380,1445,1504,1569,1630,1695,1764

%N Number of lattice points (x,y) in the region bounded by 0 < y < n*sin(x*Pi/n) for 0 < x < n.

%o (Python)

%o from sympy import sin, floor, pi

%o def A344421(n): return sum(floor(n*sin(x*pi/n))-int((n*sin(x*pi/n)).is_integer == True) for x in range(1,n)) # _Chai Wah Wu_, May 19 2021

%K nonn

%O 1,3

%A _Wesley Ivan Hurt_, May 17 2021

%E More terms from _Chai Wah Wu_, May 19 2021

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 April 14 12:23 EDT 2024. Contains 371661 sequences. (Running on oeis4.)