A317718 Number of uniform relatively prime rooted trees with n nodes.
1, 1, 2, 4, 7, 13, 27, 55, 125, 278, 650, 1510, 3624, 8655, 21017, 51212, 125857, 310581, 770767, 1920226
Offset: 1
Examples
The a(6) = 13 uniform relatively prime rooted trees: (((((o))))) ((((oo)))) (((o(o)))) (((ooo))) ((o((o)))) ((o(oo))) ((oooo)) (o(((o)))) (o((oo))) (o(o(o))) (o(ooo)) ((o)((o))) (ooooo)
Links
- A. David Christopher and M. Davamani Christober, Relatively Prime Uniform Partitions, Gen. Math. Notes, Vol. 13, No. 2, December, 2012, pp. 1-12.
Crossrefs
Programs
-
Mathematica
purt[n_]:=purt[n]=If[n==1,{{}},Join@@Table[Select[Union[Sort/@Tuples[purt/@ptn]],Or[Length[#]==1,And[SameQ@@Length/@Split[#],Intersection@@#=={}]]&],{ptn,IntegerPartitions[n-1]}]]; Table[Length[purt[n]],{n,20}]
Comments