OFFSET
1,4
COMMENTS
Inspired by problem 14 on the 2003 American Invitational Mathematics Examination, which asked for a(251). There are some slightly different versions of this sequence. For example, you could consider 1/2 = .5 or 1/2 = .50000...; I chose the latter interpretation here.
LINKS
American Mathematics Competitions, Problem 14
EXAMPLE
a(6) = 2 because 2/3 = .6...; a(24) = 6 because 6/25 = .24
CROSSREFS
KEYWORD
base,frac,nonn
AUTHOR
Joshua Zucker, Mar 26 2003
STATUS
approved