cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A067099 Floor[radius of the circumscribed circle of a regular n-gon with unit sides].

Original entry on oeis.org

0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 4, 4, 4, 4, 4, 4, 5, 5, 5, 5, 5, 5, 6, 6, 6, 6, 6, 6, 7, 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

Views

Author

Amarnath Murthy, Jan 07 2002

Keywords

Examples

			a(15) = floor(1/(2*sin(Pi/15))) = floor(2.40486717237206534804886845877139) = 2.
		

Crossrefs

Cf. A067100.

Programs

  • Mathematica
    Table[ Floor[ 1/(2*Sin[Pi/n])], {n, 3, 75} ]
  • PARI
    { for (n=3, 1000, write("b067099.txt", n, " ", floor(1/(2*sin(Pi/n)))) ) } \\ Harry J. Smith, May 16 2010

Formula

a(n) = floor(1/(2*sin(Pi/n))).

Extensions

More terms from Robert G. Wilson v, Jan 09 2002