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-3 of 3 results.

A360366 a(n) is the numerator of the rational number with the smallest denominator that lies within 1/10^n of Pi.

Original entry on oeis.org

3, 22, 22, 201, 333, 355, 355, 75948, 100798, 103993, 312689, 833719, 4272943, 5419351, 58466453, 80143857, 245850922, 1068966896, 2549491779, 6167950454, 21053343141, 21053343141, 1299139324288, 1741259530249, 3587785776203, 8958937768937, 8958937768937, 130796280757852
Offset: 0

Views

Author

Stefano Spezia, Feb 04 2023

Keywords

Examples

			The rational numbers are 3, 22/7, 22/7, 201/64, 333/106, 355/113, 355/113, 75948/24175, ...
		

Crossrefs

Cf. A360367 (denominator), A360368, A360369, A360370.

Programs

  • Mathematica
    Table[Numerator[Rationalize[Pi,10^(-n)]],{n,0,27}]

A360367 a(n) is the denominator of the rational number with the smallest denominator that lies within 1/10^n of Pi.

Original entry on oeis.org

1, 7, 7, 64, 106, 113, 113, 24175, 32085, 33102, 99532, 265381, 1360120, 1725033, 18610450, 25510582, 78256779, 340262731, 811528438, 1963319607, 6701487259, 6701487259, 413528890451, 554260122890, 1142027682075, 2851718461558, 2851718461558, 41633749241295, 91822653867264
Offset: 0

Views

Author

Stefano Spezia, Feb 04 2023

Keywords

Examples

			The rational numbers are 3, 22/7, 22/7, 201/64, 333/106, 355/113, 355/113, 75948/24175, ...
		

Crossrefs

Cf. A360366 (numerator), A360368, A360369, A360370.

Programs

  • Mathematica
    Table[Denominator[Rationalize[Pi,10^(-n)]],{n,0,28}]

A360370 Intersection of A002486 and A360367.

Original entry on oeis.org

1, 7, 106, 113, 33102, 99532, 265381, 1360120, 1725033, 25510582, 78256779, 340262731, 811528438, 1963319607, 6701487259, 1142027682075, 2851718461558, 136308121570117, 1952799169684491, 9627687726852338, 21208174623389167, 136876735467187340, 842468587426513207
Offset: 1

Views

Author

Stefano Spezia, Feb 04 2023

Keywords

Crossrefs

Cf. A000796, A011557, A360366, A360369 (numerators).

Programs

  • Mathematica
    imax=34; Intersection[Denominator[Convergents[ContinuedFraction[Pi, imax]]], Table[Denominator[Rationalize[Pi, 10^(-i)]], {i,0,2*imax}]]
Showing 1-3 of 3 results.