OFFSET
1,1
COMMENTS
Takes the value 91 for 1<=n<=101. First term that is not 91 is a(102)=92.
REFERENCES
J. C. Lagarias, ed., The Ultimate Challenge: The 3x+1 Problem, Amer. Math. Soc., 2010. See p. 302.
LINKS
Eric Weisstein's World of Mathematics, McCarthy 91-Function
MAPLE
F:=proc(n) option remember;
if n > 100 then n-10 else F(F(n+11)); fi; end;
CROSSREFS
KEYWORD
nonn
AUTHOR
Eric W. Weisstein, Feb 17 2005
EXTENSIONS
Edited by and more terms from N. J. A. Sloane, Jan 31 2011
STATUS
approved