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 A094617 #28 Mar 05 2021 19:51:16 %S A094617 2,3,4,5,7,10,9,13,19,28,17,25,37,55,82,33,49,73,109,163,244,65,97, %T A094617 145,217,325,487,730,129,193,289,433,649,973,1459,2188,257,385,577, %U A094617 865,1297,1945,2917,4375,6562,513,769,1153,1729,2593,3889,5833,8749,13123,19684 %N A094617 Triangular array T of numbers generated by these rules: 2 is in T; and if x is in T, then 2x-1 and 3x-2 are in T. %C A094617 To obtain row n from row n-1, apply 2x-1 to each x in row n-1 and then put 1+3^n at the end. Or, instead, apply 3x-2 to each x in row n-1 and then put 1+2^n at the beginning. %C A094617 From _Lamine Ngom_, Feb 10 2021: (Start) %C A094617 Triangle read by diagonals provides all the sequences of the form 1+2^(k-1)*3^n, where k is the k-th diagonal. %C A094617 For instance, the terms of the first diagonal form the sequence 2, 4, 10, 28, ..., i.e., 1+3^n (A034472). %C A094617 The 2nd diagonal leads to the sequence 3, 7, 19, 55, ..., i.e., 1+2*3^n (A052919). %C A094617 The 3rd diagonal is the sequence 5, 13, 37, 109, ..., i.e., 1+4*3^n (A199108). %C A094617 And for k = 4, we obtain the sequence 9, 25, 73, 217, ..., i.e., 1+8*3^n (A199111). (End) %H A094617 Ivan Neretin, <a href="/A094617/b094617.txt">Table of n, a(n) for n = 1..5151</a> %F A094617 When offset is zero, then the first term is T(0,0) = 2, and %F A094617 T(n,0) = 1 + 2^n = A000051(n), %F A094617 T(n,n) = 1 + 3^n = A048473(n), %F A094617 T(2n,n) = 1 + 6^n = A062394(n). %F A094617 Row sums = A094618. %F A094617 a(n) = A036561(n-1) + 1. - _Filip Zaludek_, Nov 19 2016 %e A094617 Rows of this triangle begin: %e A094617 2; %e A094617 3, 4; %e A094617 5, 7, 10; %e A094617 9, 13, 19, 28; %e A094617 17, 25, 37, 55, 82; %e A094617 33, 49, 73, 109, 163, 244; %e A094617 65, 97, 145, 217, 325, 487, 730; %e A094617 129, 193, 289, 433, 649, 973, 1459, 2188; %e A094617 257, 385, 577, 865, 1297, 1945, 2917, 4375, 6562; %e A094617 513, 769, 1153, 1729, 2593, 3889, 5833, 8749, 13123, 19684; %e A094617 ... %t A094617 FoldList[Append[2 #1 - 1, 1 + 3^#2] &, {2}, Range[9]] // Flatten (* _Ivan Neretin_, Mar 30 2016 *) %Y A094617 Cf. A094616, A094618, A138247. %Y A094617 Cf. A034472, A052919, A199108, A199111. %K A094617 nonn,tabl %O A094617 1,1 %A A094617 _Clark Kimberling_, May 14 2004