OFFSET
1,2
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) = 3 because 2/3 = .6...; a(42) = 7 because 1/7 = .142...
CROSSREFS
KEYWORD
base,frac,nonn
AUTHOR
Joshua Zucker, Mar 26 2003
STATUS
approved