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!)
A062299 a(n) = floor(cot(Pi/(n+1))). 3

%I #17 Apr 11 2021 16:12:01

%S 0,0,1,1,1,2,2,2,3,3,3,4,4,4,5,5,5,5,6,6,6,7,7,7,8,8,8,9,9,9,10,10,10,

%T 11,11,11,12,12,12,13,13,13,13,14,14,14,15,15,15,16,16,16,17,17,17,18,

%U 18,18,19,19,19,20,20,20,20,21,21,21,22,22,22,23,23,23,24,24,24,25,25

%N a(n) = floor(cot(Pi/(n+1))).

%H Harry J. Smith, <a href="/A062299/b062299.txt">Table of n, a(n) for n = 1..1000</a>

%e a(999) = 318 as cot(Pi/1000) = 318.308838985550445921686695436921...

%o (PARI) v=[]; for(n=1,200,v=concat(v,floor(cotan(Pi/(n+1))))); v

%o (PARI) { default(realprecision, 50); for (n=1, 1000, write("b062299.txt", n, " ", floor(cotan(Pi/(n+1)))) ) } \\ _Harry J. Smith_, Aug 04 2009

%K nonn

%O 1,6

%A _Amarnath Murthy_, Jun 19 2001

%E More terms from _Jason Earls_, Jun 21 2001

%E Corrected by _T. D. Noe_, Nov 01 2006

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