OFFSET
1,5
COMMENTS
This can be regarded as a table in two ways: with each weak composition as a row, or with the weak compositions of each integer as a row. The first way has A124736 as row lengths and A124748 as row sums; the second has A001792 as row lengths and A001787 as row sums.
This sequence includes every finite sequence of nonnegative integers.
FORMULA
a(n) = A124734(n) - 1.
EXAMPLE
The table starts:
0
1; 0 0
2; 0 1; 1 0; 0 0 0
CROSSREFS
KEYWORD
easy,nonn,tabf
AUTHOR
Franklin T. Adams-Watters, Nov 06 2006
STATUS
approved