OFFSET
1,2
COMMENTS
The modified Juggler sequence: begin with x and if x is even, round(sqrt(x)) -> x and if x is odd, round(sqrt(x3)) -> x and repeat until x = 1, count the iterations.
MATHEMATICA
mjs[n_] := If[ EvenQ[n], Round[ Sqrt[n]], Round[ Sqrt[n^3]]];; f[n_] := Length[ NestWhileList[mjs, n, # != 1 &]] - 1; a = {0}; Do[ b = f[n]; If[b >a[[ -1]] AppendTo[a, b]; Print[n]], {n, 250000}]
CROSSREFS
KEYWORD
nonn,more
AUTHOR
Robert G. Wilson v, Jun 14 2004
EXTENSIONS
a(16)-a(19) from Chai Wah Wu, Aug 18 2016
STATUS
approved