OFFSET
1,3
COMMENTS
It is not known if every starting value eventually reaches 1.
REFERENCES
C. Pickover, Computers and the Imagination, St. Martin's Press, NY, 1991, p. 233.
N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).
LINKS
Richard J Mathar and Chai Wah Wu, Table of n, a(n) for n = 1..10000 n = 1..836 from Richard J Mathar
H. J. Smith, Juggler Sequence
R. G. Wilson, V, Letter to N. J. A. Sloane, Sep. 1992
MAPLE
f:=proc(n) if n mod 2 = 0 then RETURN(round(sqrt(n))) else RETURN(round(n^(3/2))); fi; end; # corrected by R. J. Mathar, Jul 28 2007
MATHEMATICA
mjs[n_] := If[EvenQ[n], Round[Sqrt[n]], Round[Sqrt[n^3]]]; f[n_] := Length[NestWhileList[mjs, n, # != 1 &]] - 1; Table[ f[n], {n, 90}]
CROSSREFS
KEYWORD
nonn,easy
EXTENSIONS
More terms from N. J. A. Sloane, Jun 09 2004
STATUS
approved