|
|
A067100
|
|
Floor[radius of the inscribed-circle of a regular n-gon with unit sides].
|
|
6
|
|
|
0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 4, 4, 4, 4, 4, 4, 5, 5, 5, 5, 5, 5, 6, 6, 6, 6, 6, 6, 6, 7, 7, 7, 7, 7, 7, 8, 8, 8, 8, 8, 8, 9, 9, 9, 9, 9, 9, 10, 10, 10, 10, 10, 10, 10, 11, 11, 11, 11, 11, 11
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
3,11
|
|
LINKS
|
|
|
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
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|