OFFSET
0,7
COMMENTS
EXAMPLE
Triangle begins:
0: {1,0}
1: {0,1}
2: {1,1}
3: {2,1}
4: {3,2}
5: {4,3}
6: {6,5}
7: {8,7}
8: {12,10}
9: {16,14}
For example, row n = 7 counts the following partitions:
(7) (52)
(61) (421)
(511) (322)
(43) (3211)
(4111) (2221)
(331) (22111)
(31111) (1111111)
(211111)
MATHEMATICA
pq[y_]:=Length[Select[Range[Length[y]], #==y[[#]]&]];
Table[Length[Select[IntegerPartitions[n], pq[#]==k&]], {n, 0, 15}, {k, 0, 1}]
CROSSREFS
KEYWORD
nonn,tabf
AUTHOR
Gus Wiseman, Apr 08 2022.
STATUS
approved