OFFSET
1,1
COMMENTS
Here 0.k means the decimal fraction obtained by writing k after the decimal point, e.g. 0.12 = 12/100 = 3/25.
LINKS
Alois P. Heinz, Table of n, a(n) for n = 1..20000
EXAMPLE
a(7) = 20 because .1 + .2 + ... + .9 + .10 + .11 + ... + .20 = 141/20 = 7.05 is the first time the sum reaches 7.
MAPLE
b:= proc(n) option remember;
n/10^length(n)+`if`(n<2, 0, b(n-1))
end:
a:= proc(n) option remember; local k; for k from
`if`(n=1, 1, a(n-1)) while b(k)<n do od; k
end:
seq(a(n), n=1..100); # Alois P. Heinz, Aug 17 2016
CROSSREFS
KEYWORD
nonn,base
AUTHOR
N. J. A. Sloane, Aug 07 2016
EXTENSIONS
More terms from Alois P. Heinz, Aug 17 2016
STATUS
approved