OFFSET
0,5
MAPLE
# The function r is defined in A303612.
a := n -> numer(r(n)): seq(a(n), n=0..99); # Peter Luschny, May 19 2018
MATHEMATICA
a = {1};
For[i = 1, i <= 100, i++,
nmax = 10^(Floor[Log[10, i]] + 1);
r = i/nmax;
For[n = 1, n <= nmax, n++,
If[Round[Round[n r]/n, 1/nmax] == r,
a = Flatten[Append[a, Round[n r]]];
Break[];
]]]
CROSSREFS
KEYWORD
nonn,base,frac,easy
AUTHOR
Luca Petrone, Apr 30 2018
STATUS
approved