|
|
A094698
|
|
Number of steps where the Juggler sequence reaches a new record.
|
|
4
|
|
|
0, 1, 6, 7, 9, 11, 17, 19, 43, 73, 75, 80, 88, 96, 107, 131, 166, 193, 201, 258, 263, 268, 271, 298, 335, 340, 443, 479, 484
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,3
|
|
COMMENTS
|
The Juggler sequence: begin with x; if x is even, floor(sqrt(x)) -> x; if x is odd, floor(sqrt(x^3)) -> x; repeat until x = 1, count the iterations.
|
|
LINKS
|
|
|
MATHEMATICA
|
$MaxPrecision = 250000000; js[n_] := If[ EvenQ[ n], Floor[ Sqrt[n]], Floor[ Sqrt[n^3]]]; f[n_] := Block[{c = 1, k = n}, While[k = js[k]; k != 1, c++ ]; c]; a = {0}; Do[ b = f[n]; If[b > a[[ -1]], AppendTo[a, b]; Print[n]], {n, 3053595}] (* Robert G. Wilson v, Jun 14 2004 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,more,hard
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|