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.

A100727 Continued fraction expansion of (1/2) [tan(1) + sec(1)].

Original entry on oeis.org

1, 1, 2, 2, 1, 1, 1, 2, 1, 2, 1, 2, 1, 3, 1, 2, 1, 4, 1, 2, 1, 5, 1, 2, 1, 6, 1, 2, 1, 7, 1, 2, 1, 8, 1, 2, 1, 9, 1, 2, 1, 10, 1, 2, 1, 11, 1, 2, 1, 12, 1, 2, 1, 13, 1, 2, 1, 14, 1, 2, 1, 15, 1, 2, 1, 16, 1, 2, 1, 17, 1, 2, 1, 18, 1, 2, 1, 19, 1, 2, 1, 20, 1, 2, 1, 21, 1, 2, 1, 22, 1, 2, 1, 23, 1
Offset: 0

Views

Author

Ralf Stephan, Nov 24 2004

Keywords

Comments

Periodic part is ...1,2,1,k,..., for k=2..oo.

Examples

			1.704111721167913924209364024428505183278823713737764668609552441...
		

Crossrefs

Programs

  • Mathematica
    ContinuedFraction[(Tan[1]+Sec[1])/2,100] (* Harvey P. Dale, Feb 11 2015 *)

Formula

G.f.: (x^4-x^2-1)*(x^6+x^5+x^4-x^3-x^2-x-1) / ((x-1)^2*(x+1)^2*(x^2+1)^2). - Colin Barker, Jul 16 2013