A226687 Integer k associated with the conjectured record-breaking length A226686(n) of primitive Collatz-like 3x-k cycles.
1, 19, 23, 25, 113, 467, 697, 3377, 7153, 34595, 41807, 62675, 66781, 271591
Offset: 1
This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.
The irregular array starts: (k=1) 1, 3, 11; (k=11) 4; (k=17) 6, 6; (k=19) 17; a(4)=4 is the length of the 3x-11 cycle {19,23,29,38} associated with A226623(4)=19.
For n = 26, 2*n - 1 = 51; f(51) = 77 is evil; f(77) = 29 is evil; f(29) = 11 is odious, so a(26) = 3.
Table[m = 2 n - 1; NestWhile[# + 1 &, 1, !OddQ[DigitCount[m = # / 2^IntegerExponent[#, 2] & [3 m + 1], 2][[1]]] &], {n, 100}] (* Peter J. C. Moses, Oct 13 2013 *)
Comments