A331687 Number of locally disjoint enriched p-trees of weight n.
1, 2, 4, 12, 29, 93, 249, 803, 2337, 7480, 23130, 77372, 247598, 834507, 2762222
Offset: 1
Examples
The a(1) = 1 through a(4) = 12 enriched p-trees: 1 2 3 4 (11) (21) (22) (111) (31) ((11)1) (211) (1111) ((11)2) ((21)1) (2(11)) ((11)11) ((111)1) (((11)1)1) ((11)(11))
Crossrefs
Programs
-
Mathematica
disjointQ[u_]:=Apply[And,Outer[#1==#2||Intersection[#1,#2]=={}&,u,u,1],{0,1}]; ldep[n_]:=Prepend[Select[Join@@Table[Tuples[ldep/@p],{p,Rest[IntegerPartitions[n]]}],disjointQ[DeleteCases[#,_Integer]]&],n]; Table[Length[ldep[n]],{n,10}]
Comments