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”).

A338196
The integers sorted according to the maximum number in their Collatz (3*x+1) orbit, and in the case of a tie, sorted according to their value.
1
1, 2, 4, 8, 3, 5, 6, 10, 12, 16, 20, 24, 32, 13, 26, 40, 48, 7, 9, 11, 14, 17, 18, 22, 28, 34, 36, 44, 52, 56, 21, 42, 64, 68, 72, 80, 84, 19, 25, 29, 38, 50, 58, 76, 88, 96, 33, 66, 100, 104, 37, 74, 112, 116, 128, 132, 45, 90, 136, 144, 49, 98, 148, 152, 15
OFFSET
1,2
COMMENTS
Assuming the validity of the Collatz conjecture, this sequence is a permutation of the natural numbers.
LINKS
EXAMPLE
a(1) = 1, a(2) = 2, a(3) = 4, a(4) = 8 are already the maximum in their orbit.
a(5) = 3, a(6) = 5, a(7) = 6, a(8) = 10, a(9) = 12, and a(10) = 16 all have an orbit with 16 as maximum and are therefore sorted by their size.
PROG
(PARI) See Links section.
CROSSREFS
KEYWORD
nonn
AUTHOR
Hugo Pfoertner, Oct 21 2020
STATUS
approved