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.

Showing 1-2 of 2 results.

A222481 Continued fraction for cos(1)/(1+cos(1)).

Original entry on oeis.org

0, 2, 1, 5, 1, 2, 2, 1, 2, 1, 1, 40, 4, 3, 1, 3, 4, 46, 3, 5, 2, 12, 3, 1, 4, 11, 1, 3, 3, 106, 2, 1, 1, 2, 28, 1, 7, 32, 3, 42, 1, 9, 1, 4, 2, 2, 1, 1, 15, 1, 5, 1, 8, 1, 1, 1, 3, 1, 7, 18, 13, 1, 1, 1, 1, 1, 5, 9, 7, 3, 3, 1, 1, 18, 6, 5, 1, 11, 1, 1, 10, 2
Offset: 0

Views

Author

Alois P. Heinz, Feb 21 2013

Keywords

Comments

Essentially the same as A068115: a(n) = A068115(n) for n != 2.

Examples

			0.35077679479523758155811675...
		

Crossrefs

Cf. A222480 (decimal expansion), A222482 (Engel expansion), A049470 (cos(1)), A073448 (1/cos(1)), A068115.

Programs

  • Maple
    numtheory[cfrac](evalf(1/(1+1/cos(1)), 250), 130, 'quotients')[];

Formula

cos(1)/(1+cos(1)) = 1/(1+1/cos(1)) = 1/(1+sec(1)).

Extensions

Offset changed by Andrew Howroyd, Jul 03 2024

A068116 Continued fraction expansion for sin(1).

Original entry on oeis.org

0, 1, 5, 3, 4, 19, 2, 2, 2, 2, 7, 2, 2, 1, 136, 3, 20, 3, 1, 3, 2, 1, 1, 1, 1, 10, 11, 2, 9, 54, 3, 1, 16, 1, 1, 1, 1, 1, 4, 4, 1, 2, 1, 1, 3, 11, 1, 1, 25, 1, 1, 14, 3, 1, 2, 1, 2, 2, 2, 2, 1, 2, 9, 6, 1, 4, 4, 1, 5, 1, 14, 6, 2, 12, 1, 1, 1, 1, 2, 11, 15, 152
Offset: 0

Views

Author

Benoit Cloitre, Mar 13 2002

Keywords

Crossrefs

Cf. A049469 (decimal expansion), A068115.

Programs

  • Magma
    SetDefaultRealField(RealField(100)); ContinuedFraction(Sin(1)); // G. C. Greubel, Nov 30 2018
    
  • Mathematica
    ContinuedFraction[Sin[1],90] (* Harvey P. Dale, Sep 16 2011 *)
  • PARI
    default(realprecision, 100); contfrac(sin(1)) \\ G. C. Greubel, Nov 30 2018
    
  • Sage
    continued_fraction_list(sin(1), nterms=100) # G. C. Greubel, Nov 30 2018

Extensions

Offset changed by Andrew Howroyd, Aug 05 2024
Showing 1-2 of 2 results.