OFFSET
0,5
COMMENTS
The top row of the array is where m=0. The leftmost column of the array is where n=1.
Clarification regarding the definition: Each positive integer can be thought of as a finite binary string with 1 as the leftmost digit. The "runs" alternate between those completely of 1's and those completely of 0's. Each run of digit b (0 or 1) is bounded by the digit 1-b or by the edge of the string. By "multiset of lengths (in respect to the values of the digits)" of runs, it is meant that the lengths of the runs of digit b's (b=0 or 1) form a permutation of the lengths of the runs of b's in all binary number with the same multisets of the lengths of runs. We are concerned with two multisets, those of the lengths of the runs of 0's, and those of the lengths of the runs of 1's. (See example.)
EXAMPLE
Consider those binary numbers with exactly four 1's and two 0's. There are 10 such binary numbers that each have a 1 as the leftmost digit. These binary numbers, grouped by those numbers with the same types of runs, are: (111100), (111010, 101110), (111001, 100111), (110110), (110101, 101101, 101011), (110011). There are 6 such groupings, so a(2,4) = 6.
CROSSREFS
KEYWORD
AUTHOR
Leroy Quet, Sep 01 2009
EXTENSIONS
Definition and comment line improved by Leroy Quet, Sep 02 2009
Extended by Ray Chandler, Mar 14 2010
STATUS
approved