The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A347620 Position of Matula-Goebel number n among Matula-Goebel numbers sorted by number of vertices then numerically as in A061773. 2
1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 18, 15, 16, 19, 17, 20, 21, 22, 23, 24, 38, 25, 39, 26, 27, 40, 28, 29, 41, 30, 42, 43, 31, 32, 44, 45, 33, 46, 34, 47, 86, 48, 49, 50, 51, 87, 52, 53, 35, 88, 89, 54, 55, 56, 36, 90, 57, 58, 91, 59, 92, 93, 37, 60 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
This sequence is a permutation of the natural numbers, the inverse of A061773.
n = A005517(k) is the Matula-Goebel number of the first tree of k vertices so its position is immediately after all trees of 1..k-1 vertices so a(A005517(k)) = A087803(k-1) + 1.
n = A005518(k) is the last tree of k vertices so its position is a(A005518(k)) = A087803(k).
LINKS
Kevin Ryde, PARI/GP Code.
FORMULA
a(n) = A087803(k-1) + s where s is the number of terms of A061775(1..n) equal to k, where k = A061775(n) is the number of vertices of n.
EXAMPLE
Tree n=25 is the first of 7 vertices (A005517(7)=25), so its position is after the A087803(6)=37 trees of 1..6 vertices so a(25) = 38.
Tree n=27 is the next of 7 vertices (has A061775(27)=7) so it is next after position 38: a(27) = 39.
PROG
(PARI) \\ See links.
CROSSREFS
Cf. A061775 (number of vertices), A005517 (smallest), A005518 (largest), A087803 (number of trees).
Cf. A061773 (inverse).
Cf. A347540.
Sequence in context: A247764 A302140 A039698 * A078107 A072089 A072088
KEYWORD
nonn
AUTHOR
Kevin Ryde, Sep 09 2021
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 23 07:28 EDT 2024. Contains 372760 sequences. (Running on oeis4.)