login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A057686
Trajectory of 23 under the `23x+1' map.
9
23, 530, 265, 53, 1220, 610, 305, 61, 1404, 702, 351, 117, 39, 13, 1, 24, 12, 6, 3, 1, 24, 12, 6, 3, 1, 24, 12, 6, 3, 1, 24, 12, 6, 3, 1, 24, 12, 6, 3, 1, 24, 12, 6, 3, 1, 24, 12, 6, 3, 1, 24, 12, 6, 3, 1, 24, 12, 6, 3, 1, 24, 12, 6, 3, 1, 24, 12, 6, 3, 1
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[23, #]&, 23, 100] (* Paolo Xausa, Dec 10 2023 *)
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, Oct 20 2000
STATUS
approved