OFFSET
3,11
LINKS
Harry J. Smith, Table of n, a(n) for n = 3..1000
FORMULA
a(n) = floor((cot(Pi/n)/2)).
EXAMPLE
a(24) = floor(cot(Pi/24)/2) = floor(3.79787705636257522026320957021073) = 3.
MATHEMATICA
Table[ Floor[ Cot[Pi/n]/2], {n, 3, 75} ]
PROG
(PARI) { for (n=3, 1000, write("b067100.txt", n, " ", floor((cotan(Pi/n)/2))) ) } \\ Harry J. Smith, May 19 2010
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Amarnath Murthy, Jan 07 2002
EXTENSIONS
More terms from Robert G. Wilson v, Jan 09 2002
STATUS
approved