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 A221473 #16 Jan 29 2014 08:33:23 %S A221473 1,5,3,21,13,85,53,341,17,113,35,213,227,1365,11,69,75,453,23,141,151, %T A221473 853,909,5461,7,45,277,301,1813,15,93,565,605,3413,3637,21845,29,181, %U A221473 201,1109,1137,1205,7253,7281,9,61,369,373,401,403,2261,2275,2417 %N A221473 Irregular table of odd numbers whose n-th row has numbers taking n iterations of the Collatz (3x+1) function to reach 1. %C A221473 Sequence A176866 gives the length of each row. Sequences A176867 and A176868 give the minimum and maximum number in each row. Observe how each row has clumps of numbers -- a feature evident in the graph. Sequence A221474 counts these clumps. %H A221473 T. D. Noe, <a href="/A221473/b221473.txt">Rows n = 0..40 of triangle, flattened</a> %e A221473 Rows 0 to 18 are %e A221473 {1} %e A221473 {} %e A221473 {} %e A221473 {} %e A221473 {} %e A221473 {5} %e A221473 {} %e A221473 {3, 21} %e A221473 {} %e A221473 {13, 85} %e A221473 {} %e A221473 {53, 341} %e A221473 {17, 113} %e A221473 {35, 213, 227, 1365} %e A221473 {11, 69, 75, 453} %e A221473 {23, 141, 151, 853, 909, 5461} %e A221473 {7, 45, 277, 301, 1813} %e A221473 {15, 93, 565, 605, 3413, 3637, 21845} %e A221473 {29, 181, 201, 1109, 1137, 1205, 7253, 7281} %e A221473 ... %e A221473 Note that row 18 has 4 clumps: 29, 181-201, 1109-1205, and 7253-7281. %t A221473 nn = 21; s = {1}; t = Join[s, Table[s = Union[2 s, (Select[s, Mod[#, 3] == 1 && OddQ[(# - 1)/3] && (# - 1)/3 > 1 &] - 1)/3]; s, {n, nn}]]; Select[Flatten[t], OddQ] %Y A221473 Cf. A176866, A176867, A176868. %Y A221473 Cf. A127824 (table of even and odd numbers taking n iterations). %Y A221473 Cf. A221474 (number of clumps). %K A221473 nonn,tabf,look %O A221473 0,2 %A A221473 _T. D. Noe_, Feb 13 2013