OFFSET
1,2
COMMENTS
Assuming the validity of the Collatz conjecture, this sequence is a permutation of the natural numbers.
LINKS
Rémy Sigrist, Table of n, a(n) for n = 1..10000
Rémy Sigrist, PARI program for A338196
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