A226614 Positive integers k for which 1 is in a cycle of integers under iteration by the Collatz-like 3x+k function.
1, 5, 11, 13, 17, 29, 41, 43, 55, 59, 61, 77, 79, 91, 95, 97, 107, 113, 119, 125, 127, 137, 145, 155, 185, 193, 203, 209, 215, 239, 247, 253, 257, 275, 281, 289, 317, 329, 335, 353, 355, 407, 437, 445, 473, 493, 499, 509, 553, 559, 593, 629, 637, 643, 673, 697
Offset: 1
Keywords
Links
Programs
-
PARI
\\ 5.5 hours (2.33 Ghz Intel Core 2) {k=1; n=1; until(n>10000, x=1; y=1; len=0; until(x==y, if(x%2==0, x=x/2, x=(3*x+k)/2); if(y%2==0, y=y/2, y=(3*y+k)/2); if(y%2==0, y=y/2, y=(3*y+k)/2); len++); if(x==1, write("b226614.txt",n," ",k); write("b226615.txt",n," ",len); n++); k+=(k+3)%6)}
Comments