cp's OEIS Frontend

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.

Previous Showing 11-14 of 14 results.

A062054 Numbers with 4 odd integers in their Collatz (or 3x+1) trajectory.

Original entry on oeis.org

17, 34, 35, 68, 69, 70, 75, 136, 138, 140, 141, 150, 151, 272, 276, 277, 280, 282, 300, 301, 302, 544, 552, 554, 560, 564, 565, 600, 602, 604, 605, 1088, 1104, 1108, 1109, 1120, 1128, 1130, 1137, 1200, 1204, 1205, 1208, 1210, 2176, 2208, 2216, 2218, 2240
Offset: 1

Views

Author

Keywords

Comments

The Collatz (or 3x+1) function is f(x) = x/2 if x is even, 3x+1 if x is odd.
The Collatz trajectory of n is obtained by applying f repeatedly to n until 1 is reached.
A078719(a(n)) = 4; A006667(a(n)) = 3.
Numbers m such that (s0 - 4s1)/2m = 1 where s0 is the sum of the even elements and s1 the sum of the odd elements in the Collatz trajectory of m. - Michel Lagneau, Aug 13 2018
If m is in the sequence then so is 2*m, so one would only have to check odd numbers. - David A. Corneth, Aug 13 2018

Examples

			The Collatz trajectory of 17 is (17, 52, 26, 13, 40, 20, 10, 5, 16, 8, 4, 2, 1), which contains 4 odd integers. - _Jeffrey R. Goodwin_, Oct 26 2011
		

References

  • J. Shallit and D. Wilson, The "3x+1" Problem and Finite Automata, Bulletin of the EATCS #46 (1992) pp. 182-185.

Crossrefs

Programs

Formula

The twelve formulas giving this sequence are listed in Corollary 3.3 in J. R. Goodwin with the following caveats: the value x cannot equal zero in formulas (3.16) and (3.20), one must multiply the formulas by all powers of 2 (2^1, 2^2, ...) to get the evens. - Jeffrey R. Goodwin, Oct 26 2011

A115774 Integers i such that 15*i = A048720bi(23,i).

Original entry on oeis.org

0, 5, 10, 20, 21, 40, 42, 80, 84, 85, 160, 168, 170, 320, 336, 340, 341, 640, 645, 672, 680, 682, 1280, 1285, 1290, 1344, 1360, 1364, 1365, 2560, 2565, 2570, 2580, 2581, 2688, 2693, 2720, 2728, 2730, 5120, 5125, 5130, 5140, 5141, 5160, 5162, 5376
Offset: 0

Views

Author

Antti Karttunen, Jan 30 2006

Keywords

Comments

Here * stands for ordinary multiplication and A048720 is the carryless (GF(2)[X]) multiplication.

Crossrefs

Cf. A048717, A115767, A115770. Subset of A115772 ? A115776 gives the terms of A115772 which do not occur here. Differs from A062052 for the first time at n=18, where A115774(18)=645 while A062052(18)=672. A115775 shows this sequence in binary.

A072122 Numbers with 12 odd integers in their Collatz (or 3x+1) trajectory.

Original entry on oeis.org

39, 78, 79, 153, 156, 157, 158, 305, 306, 307, 312, 314, 315, 316, 317, 610, 611, 612, 613, 614, 624, 628, 629, 630, 631, 632, 634, 647, 683, 687, 1220, 1221, 1222, 1224, 1226, 1228, 1229, 1241, 1248, 1256, 1257, 1258, 1260, 1261, 1262, 1264, 1265, 1268
Offset: 1

Views

Author

Jim Nastos, Jun 19 2002

Keywords

Comments

The Collatz (or 3x+1) function is f(x) = x/2 if x is even, 3x+1 if x is odd. The Collatz trajectory of n is obtained by applying f repeatedly to n until 1 is reached.

Examples

			trajectory: 39, 118, 59, 178, 89, 268, 134, 67, 202, 101, 304, 152, 76, 38, 19, 58, 29, 88, 44, 22, 11, 34, 17, 52, 26, 13, 40, 20, 10, 5, 16, 8, 4, 2, 1 has 12 odd numbers.
		

References

  • J. Shallit and D. Wilson, The "3x+1" Problem and Finite Automata, Bulletin of the EATCS #46 (1992) pp. 182-185.

Crossrefs

Column k=12 of A354236.

Programs

A072466 Numbers with 11 odd integers in their Collatz (or 3x+1) trajectory.

Original entry on oeis.org

57, 59, 114, 115, 118, 119, 228, 229, 230, 236, 237, 238, 456, 458, 460, 461, 465, 472, 473, 474, 476, 477, 507, 513, 912, 916, 917, 920, 922, 930, 931, 943, 944, 945, 946, 947, 948, 949, 952, 954, 971, 987, 1014, 1015, 1025, 1026, 1027, 1031, 1129, 1131
Offset: 1

Views

Author

Jim Nastos, Jun 19 2002

Keywords

Comments

The Collatz (or 3x+1) function is f(x) = x/2 if x is even, 3x+1 if x is odd. The Collatz trajectory of n is obtained by applying f repeatedly to n until 1 is reached.

References

  • J. Shallit and D. Wilson, The "3x+1" Problem and Finite Automata, Bulletin of the EATCS #46 (1992) pp. 182-185.

Crossrefs

Column k=11 of A354236.

Programs

  • Maple
    b:= proc(n) option remember; irem(n, 2, 'r')+
          `if`(n=1, 0, b(`if`(n::odd, 3*n+1, r)))
        end:
    q:= n-> is(b(n)=11):
    select(q, [$1..2000])[];  # Alois P. Heinz, May 18 2022
  • Mathematica
    ocollQ[n_]:=Length[Select[NestWhileList[If[EvenQ[#],#/2,3#+1]&,n,#>1&],OddQ[#]&]]==11; Select[Range[1140],ocollQ[#]&] (* Jayanta Basu, May 28 2013 *)
Previous Showing 11-14 of 14 results.