login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A358508 Least Matula-Goebel number of a tree with exactly n permutations. 5
1, 6, 12, 24, 48, 30, 192, 104, 148, 72, 3072, 60, 12288, 832, 144, 712, 196608, 222, 786432, 120, 288, 13312 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
The Matula-Goebel number of a rooted tree is the product of primes indexed by the Matula-Goebel numbers of the branches of its root, which gives a bijective correspondence between positive integers and unlabeled rooted trees.
To get a permutation of a tree, we choose a permutation of the multiset of branches of each node.
LINKS
EXAMPLE
The terms together with their corresponding trees begin:
1: o
6: (o(o))
12: (oo(o))
24: (ooo(o))
48: (oooo(o))
30: (o(o)((o)))
192: (oooooo(o))
104: (ooo(o(o)))
148: (oo(oo(o)))
72: (ooo(o)(o))
3072: (oooooooooo(o))
60: (oo(o)((o)))
12288: (oooooooooooo(o))
832: (oooooo(o(o)))
144: (oooo(o)(o))
712: (ooo(ooo(o)))
MATHEMATICA
primeMS[n_]:=If[n===1, {}, Flatten[Cases[FactorInteger[n], {p_, k_}:>Table[PrimePi[p], {k}]]]]
MGTree[n_Integer]:=If[n===1, {}, MGTree/@primeMS[n]]
treeperms[t_]:=Times @@ Cases[t, b:{__}:>Length[Permutations[b]], {0, Infinity}];
uv=Table[treeperms[MGTree[n]], {n, 100000}];
Table[Position[uv, k][[1, 1]], {k, Min@@Complement[Range[Max@@uv], uv]-1}]
CROSSREFS
Position of first appearance of n in A206487.
The sorted version is A358507.
A000081 counts rooted trees, ordered A000108.
A214577 and A358377 rank trees with no permutations.
Sequence in context: A090765 A199910 A210678 * A304938 A297107 A330997
KEYWORD
nonn,more
AUTHOR
Gus Wiseman, Nov 20 2022
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 9 10:59 EDT 2024. Contains 372350 sequences. (Running on oeis4.)