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.

A096456 Numerators of convergents to Pi/2.

Original entry on oeis.org

1, 2, 3, 11, 344, 355, 51819, 52174, 260515, 573204, 4846147, 5419351, 37362253, 42781604, 122925461, 411557987, 534483448, 2549491779, 3083975227, 17969367914, 21053343141, 881156436695, 902209779836, 2685575996367
Offset: 1

Views

Author

N. J. A. Sloane, Aug 16 2004

Keywords

Examples

			1, 2, 3/2, 11/7, 344/219, 355/226, ...
		

Crossrefs

Cf. A096463 (denominators), A053300.
Cf. A002485 (numerators of convergents to Pi).

Programs

  • Mathematica
    Table[Numerator[FromContinuedFraction[ContinuedFraction[Pi/2, n]]], {n, 1, 25}] (* Stefan Steinerberger, Mar 18 2006 *)
  • PARI
    contfracpnqn(c=contfrac(Pi/2),#c)[1,] \\ M. F. Hasler, Oct 13 2020

Extensions

More terms from Stefan Steinerberger, Mar 18 2006