editing
approved
editing
approved
prs2mat[prs_]:=Table[Count[prs, {i, j}], {i, Union[First/@prs]}, {j, Union[Last/@prs]}];
multsubs[set_, k_]:=If[k==0, {{}}, Join@@Table[Prepend[#, set[[i]]]&/@multsubs[Drop[set, i-1], k-1], {i, Length[set]}]];
Table[Length[Select[multsubs[Tuples[Range[n], 2], n], And[Union[First/@#]==Range[Max@@First/@#], Union[Last/@#]==Range[Max@@Last/@#], And@@(OrderedQ[#, Greater]&/@prs2mat[#]), And@@(OrderedQ[#, Greater]&/@Transpose[prs2mat[#]])]&]], {n, 5}] (* Gus Wiseman, Nov 15 2018 *)
prs2mat[prs_]:=Table[Count[prs, {i, j}], {i, Union[First/@prs]}, {j, Union[Last/@prs]}];
multsubs[set_, k_]:=If[k==0, {{}}, Join@@Table[Prepend[#, set[[i]]]&/@multsubs[Drop[set, i-1], k-1], {i, Length[set]}]];
Table[Length[Select[multsubs[Tuples[Range[n], 2], n], And[Union[First/@#]==Range[Max@@First/@#], Union[Last/@#]==Range[Max@@Last/@#], And@@(OrderedQ[#, Greater]&/@prs2mat[#]), And@@(OrderedQ[#, Greater]&/@Transpose[prs2mat[#]])]&]], {n, 5}] (* Gus Wiseman, Nov 15 2018 *)
approved
editing
proposed
approved
editing
proposed
From Gus Wiseman, Nov 15 2018: (Start)
The a(6) = 10 plane partitions:
6 5 1 4 2 3 2 1
.
5 4 1 4 3 2 3 1
1 1 2 1 2
.
3
2
1
(End)
prs2mat[prs_]:=Table[Count[prs, {i, j}], {i, Union[First/@prs]}, {j, Union[Last/@prs]}];
multsubs[set_, k_]:=If[k==0, {{}}, Join@@Table[Prepend[#, set[[i]]]&/@multsubs[Drop[set, i-1], k-1], {i, Length[set]}]];
Table[Length[Select[multsubs[Tuples[Range[n], 2], n], And[Union[First/@#]==Range[Max@@First/@#], Union[Last/@#]==Range[Max@@Last/@#], And@@(OrderedQ[#, Greater]&/@prs2mat[#]), And@@(OrderedQ[#, Greater]&/@Transpose[prs2mat[#]])]&]], {n, 5}] (* Gus Wiseman, Nov 15 2018 *)
approved
editing
editing
approved
Alois P. Heinz, <a href="/A114736/b114736.txt">Table of n, a(n) for n = 0..85</a>
more,nonn,changed
a(40)-a(44) from Alois P. Heinz, Sep 26 2018
1, 1, 1, 3, 4, 6, 10, 15, 22, 33, 49, 70, 102, 146, 205, 290, 405, 561, 779, 1071, 1463, 1999, 2714, 3667, 4946, 6641, 8880, 11848, 15753, 20870, 27586, 36354, 47766, 62621, 81878, 106785, 138975, 180449, 233778, 302270, 390027, 502256, 645603, 828330, 1060851
approved
editing