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 A176505 #12 Feb 17 2017 18:26:47 %S A176505 1,1,1,1,0,1,1,0,0,1,1,1,1,1,1,1,0,1,1,0,1,1,1,1,2,1,1,1,1,1,2,2,2,2, %T A176505 1,1,1,1,2,3,2,3,2,1,1,1,2,3,4,4,4,4,3,2,1,1,2,4,5,5,6,5,5,4,2,1 %N A176505 Triangle T(n,m) read by rows: T(n,m) = a(n) - a(m) - a(n-m) + 1, where a(n) = A000931(n+4). %H A176505 Indranil Ghosh, <a href="/A176505/b176505.txt">Rows 0..120, flattened</a> %H A176505 Indranil Ghosh, <a href="/A176505/a176505.txt">Python Program to generate the b-file</a> %F A176505 T(n,m) = a(n) - a(m) - a(n-m) + 1, a(n) = A000931(n+4). %e A176505 Triangle: %e A176505 {1}, %e A176505 {1, 1}, %e A176505 {1, 0, 1}, %e A176505 {1, 0, 0, 1}, %e A176505 {1, 1, 1, 1, 1}, %e A176505 {1, 0, 1, 1, 0, 1}, %e A176505 {1, 1, 1, 2, 1, 1, 1}, %e A176505 {1, 1, 2, 2, 2, 2, 1, 1}, %e A176505 {1, 1, 2, 3, 2, 3, 2, 1, 1}, %e A176505 {1, 2, 3, 4, 4, 4, 4, 3, 2, 1}, %e A176505 {1, 2, 4, 5, 5, 6, 5, 5, 4, 2, 1}, %e A176505 ... %e A176505 T(6,3) = a(6) - a(3) - a(6-3) + 1 = a(6) - 2 * a(3) + 1 = 3 - (2 * 1) + 1 = 2. - _Indranil Ghosh_, Feb 17 2017 %t A176505 a[0] := 0; a[1] := 1; a[2] := 1; %t A176505 a[n_] := a[n] = a[n - 2] + a[n - 3]; %t A176505 t[n_, m_] := t[n, m] = a[n] - a[m] - a[n - m] + 1; %t A176505 Table[Table[t[n, m], {m, 0, n}], {n, 0, 10}]; %t A176505 Flatten[%] %Y A176505 Cf. A000931. %K A176505 nonn,tabl,easy,less %O A176505 0,25 %A A176505 _Roger L. Bagula_, Apr 19 2010 %E A176505 Name and formula sections corrected by _Indranil Ghosh_, Feb 17 2017