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
KEYWORD
nonn,base,frac
AUTHOR
Stefano Spezia, Feb 04 2023
STATUS
approved