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!)
A248360 a(n) = floor( 1/(1 - cos(Pi/n)) ). 4
0, 1, 2, 3, 5, 7, 10, 13, 16, 20, 24, 29, 34, 39, 45, 52, 58, 65, 73, 81, 89, 98, 107, 116, 126, 137, 147, 159, 170, 182, 194, 207, 220, 234, 248, 262, 277, 292, 308, 324, 340, 357, 374, 392, 410, 428, 447, 467, 486, 506, 527, 548, 569, 591, 613, 635, 658 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,3
COMMENTS
This sequence provides insight into the manner of convergence of the sequence cos(Pi/n).
LINKS
FORMULA
a(n) ~ 2*n^2/Pi^2. - Vaclav Kotesovec, Oct 09 2014
EXAMPLE
Approximations:
n ... 1-cos(Pi/n) ... 1/(1-cos(Pi/n)
1 ... 2 ............. 0 .5
2 ... 1 ............. 1
3 ... 0.5 ........... 2
4 ... 0.292893 ...... 3.31421
5 ... 0.190983 ...... 5.23607
6 ... 0.133975 ...... 7.4741
MATHEMATICA
z = 800; f[n_] := f[n] = Select[Range[z], Cos[Pi/#] + 1/(#*n) > 1 &, 1];
u = Flatten[Table[f[n], {n, 1, z}]] (* A248359 *)
Table[Floor[1/(1 - Cos[Pi/n])], {n, 1, z/10}] (* A248360 *)
CROSSREFS
Cf. A248360.
Sequence in context: A183137 A008738 A022790 * A194238 A364090 A270192
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, Oct 07 2014
STATUS
approved

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 18 22:18 EDT 2024. Contains 371782 sequences. (Running on oeis4.)