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

%I #7 Feb 04 2023 20:48:25

%S 3,22,22,201,333,355,355,75948,100798,103993,312689,833719,4272943,

%T 5419351,58466453,80143857,245850922,1068966896,2549491779,6167950454,

%U 21053343141,21053343141,1299139324288,1741259530249,3587785776203,8958937768937,8958937768937,130796280757852

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

%H Wolfram Research (1988), <a href="https://reference.wolfram.com/language/ref/Rationalize.html">Rationalize, Wolfram Language function</a>, (updated 1999).

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

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

%Y Cf. A000796, A002485, A011557.

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

%K nonn,base,frac

%O 0,1

%A _Stefano Spezia_, Feb 04 2023