login
A360366
a(n) is the numerator of the rational number with the smallest denominator that lies within 1/10^n of Pi.
4
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,1
LINKS
Wolfram Research (1988), Rationalize, Wolfram Language function, (updated 1999).
EXAMPLE
The rational numbers are 3, 22/7, 22/7, 201/64, 333/106, 355/113, 355/113, 75948/24175, ...
MATHEMATICA
Table[Numerator[Rationalize[Pi, 10^(-n)]], {n, 0, 27}]
CROSSREFS
Cf. A360367 (denominator), A360368, A360369, A360370.
Sequence in context: A037101 A226028 A248626 * A072398 A134924 A042547
KEYWORD
nonn,base,frac
AUTHOR
Stefano Spezia, Feb 04 2023
STATUS
approved