login
A057685
Trajectory of 19 under the `19x+1' map.
9
19, 362, 181, 3440, 1720, 860, 430, 215, 43, 818, 409, 7772, 3886, 1943, 36918, 18459, 6153, 2051, 293, 5568, 2784, 1392, 696, 348, 174, 87, 29, 552, 276, 138, 69, 23, 438, 219, 73, 1388, 694, 347, 6594, 3297, 1099, 157, 2984, 1492, 746
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[19, #]&, 19, 100] (* Paolo Xausa, Dec 10 2023 *)
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, Oct 20 2000
STATUS
approved