|
|
A095911
|
|
Number of steps where the modified Juggler sequence reaches a new record (A095910).
|
|
4
|
|
|
1, 6, 13, 19, 21, 62, 64, 83, 94, 112, 120, 142, 144, 301, 306, 311, 322, 338, 357
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
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.
|
|
LINKS
|
|
|
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
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|