OFFSET
0,1
COMMENTS
This is the '11x+1' map. The 'Px+1 map': if x is divisible by any prime < P then divide out these primes one at a time starting with the smallest; otherwise multiply x by P and add 1.
Sequence has period 11. - Alois P. Heinz, Jan 19 2021
LINKS
Harvey P. Dale, Table of n, a(n) for n = 0..1000
Eric Weisstein's World of Mathematics, Collatz problem
Index entries for linear recurrences with constant coefficients, signature (0,0,0,0,0,0,0,0,0,0,1).
MATHEMATICA
NestList[Which[Mod[#, 2]==0, #/2, Mod[#, 3]==0, #/3, Mod[#, 5]==0, #/5, Mod[#, 7]==0, #/7, True, 11#+1]&, 17, 70] (* or *) PadRight[{}, 100, {17, 188, 94, 47, 518, 259, 37, 408, 204, 102, 51}] (* Harvey P. Dale, Jun 30 2025 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Murad A. AlDamen (Divisibility(AT)yahoo.com), Oct 17 2000
STATUS
approved
