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.
%I A338196 #15 Oct 22 2020 01:44:41 %S A338196 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, %T A338196 36,44,52,56,21,42,64,68,72,80,84,19,25,29,38,50,58,76,88,96,33,66, %U A338196 100,104,37,74,112,116,128,132,45,90,136,144,49,98,148,152,15 %N 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. %C A338196 Assuming the validity of the Collatz conjecture, this sequence is a permutation of the natural numbers. %H A338196 Rémy Sigrist, <a href="/A338196/b338196.txt">Table of n, a(n) for n = 1..10000</a> %H A338196 Rémy Sigrist, <a href="/A338196/a338196.gp.txt">PARI program for A338196</a> %e A338196 a(1) = 1, a(2) = 2, a(3) = 4, a(4) = 8 are already the maximum in their orbit. %e A338196 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. %o A338196 (PARI) See Links section. %Y A338196 Cf. A006370, A006577, A025586, A087255. %K A338196 nonn %O A338196 1,2 %A A338196 _Hugo Pfoertner_, Oct 21 2020