A067100 Floor[radius of the inscribed-circle of a regular n-gon with unit sides].
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
Offset: 3
Examples
a(24) = floor(cot(Pi/24)/2) = floor(3.79787705636257522026320957021073) = 3.
Links
- Harry J. Smith, Table of n, a(n) for n = 3..1000
Programs
-
Mathematica
Table[ Floor[ Cot[Pi/n]/2], {n, 3, 75} ]
-
PARI
{ for (n=3, 1000, write("b067100.txt", n, " ", floor((cotan(Pi/n)/2))) ) } \\ Harry J. Smith, May 19 2010
Formula
a(n) = floor((cot(Pi/n)/2)).
Extensions
More terms from Robert G. Wilson v, Jan 09 2002