A083480 Compress the triangular array A049597 by suppressing zero entries and reversing the order of each row.
1, 2, 3, 4, 1, 5, 2, 6, 3, 2, 7, 4, 4, 8, 5, 6, 3, 9, 6, 8, 6, 1, 10, 7, 10, 9, 6, 11, 8, 12, 12, 11, 2, 12, 9, 14, 15, 16, 9, 2, 13, 10, 16, 18, 21, 16, 7, 14, 11, 18, 21, 26, 23, 18, 4, 15, 12, 20, 24, 31, 30, 29, 12, 3, 16, 13, 22, 27, 36, 37, 40, 27, 12, 1, 17, 14, 24, 30, 41, 44, 51
Offset: 1
Examples
The table begins: 1 2 3 4 1 5 2 6 3 2 7 4 4 8 5 6 3 9 6 8 6 1 ...
Programs
-
Maple
a:=n->sort(simplify(sum(product((1-q^i),i=n-r+1..n)/product((1-q^j),j=1..r), r=0..n))):T := proc(n,k) if k=n then n+1 elif k>n then 0 else coeff(a(k),q^(n-k)) fi end: b:=proc(n,k) if T(n,n-k)>0 then T(n,n-k) else fi end:seq(seq(b(n,k),k=0..n+1),n=0..20); # Emeric Deutsch, May 15 2004
-
Mathematica
a[n_] := Sum[Product[1-q^i, {i, n-r+1, n}]/Product[1-q^j, {j, 1, r}], {r, 0, n}] // Simplify; T [n_, k_] := Which[k == n, n+1, k>n, 0, True, Coefficient[a[k], q^(n - k)]]; Table[Table[T[n, k], {k, n, 0, -1}] // DeleteCases[#, 0]&, {n, 0, 21}] // Flatten (* Jean-François Alcover, Feb 19 2015, after Maple *)
Extensions
More terms from Emeric Deutsch, May 15 2004
Comments