A304880 a(n) is the numerator of the smallest nonnegative fraction r such that round(10^d*r) = n, where d is the number of digits of n and Gaussian rounding (round half to even) is applied.
0, 1, 1, 2, 3, 1, 5, 2, 3, 6, 2, 2, 3, 12, 5, 9, 9, 1, 7, 5, 8, 8, 20, 16, 4, 13, 25, 22, 11, 2, 18, 18, 23, 27, 33, 29, 27, 23, 3, 37, 32, 32, 22, 37, 37, 41, 41, 20, 19, 33, 1, 50, 17, 52, 38, 6, 5, 13, 23, 55, 25, 23, 8, 62, 47, 20, 19, 2, 27, 37, 57, 55
Offset: 0
Crossrefs
Cf. A304879.
Programs
-
Maple
# Function r is defined in A304879. a := n -> numer(r(n)): seq(a(n), n = 0..71);