

A062299


Floor(cot{pi/(n+1)}).


2



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, 11, 11, 11, 12, 12, 12, 13, 13, 13, 13, 14, 14, 14, 15, 15, 15, 16, 16, 16, 17, 17, 17, 18, 18, 18, 19, 19, 19, 20, 20, 20, 20, 21, 21, 21, 22, 22, 22, 23, 23, 23, 24, 24, 24, 25, 25
(list;
graph;
refs;
listen;
history;
text;
internal format)



OFFSET

1,6


LINKS

Harry J. Smith, Table of n, a(n) for n = 1..1000


EXAMPLE

a(999) = 318 as cot{pi/1000} =318.308838985550445921686695436921...


PROG

(PARI) v=[]; for(n=1, 200, v=concat(v, floor(cotan(Pi/(n+1))))); v
(PARI) { default(realprecision, 50); for (n=1, 1000, write("b062299.txt", n, " ", floor(cotan(Pi/(n+1)))) ) } \\ Harry J. Smith, Aug 04 2009


CROSSREFS

Sequence in context: A209356 A099741 A047743 * A157685 A220658 A127757
Adjacent sequences: A062296 A062297 A062298 * A062300 A062301 A062302


KEYWORD

nonn


AUTHOR

Amarnath Murthy, Jun 19 2001


EXTENSIONS

More terms from Jason Earls, Jun 21 2001
Corrected by T. D. Noe, Nov 01 2006


STATUS

approved



