[go: up one dir, main page]

login
A057687
Trajectory of 29 under the `29x+1' map.
9
29, 842, 421, 12210, 6105, 2035, 407, 37, 1074, 537, 179, 5192, 2596, 1298, 649, 59, 1712, 856, 428, 214, 107, 3104, 1552, 776, 388, 194, 97, 2814, 1407, 469, 67, 1944, 972, 486, 243, 81, 27, 9, 3, 1, 30, 15, 5, 1, 30, 15, 5, 1, 30, 15
OFFSET
0,1
COMMENTS
See A057684 for definition.
MATHEMATICA
Px1[p_, n_]:=Catch[For[i=1, i<PrimePi[p], i++, If[Divisible[n, Prime[i]], Throw[n/Prime[i]]]]; p*n+1];
NestList[Px1[29, #]&, 29, 100] (* Paolo Xausa, Dec 10 2023 *)
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, Oct 20 2000
STATUS
approved