cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

Showing 1-4 of 4 results.

A214577 The Matula-Goebel numbers of the generalized Bethe trees. A generalized Bethe tree is a rooted tree in which vertices at the same level have the same degree.

Original entry on oeis.org

2, 3, 4, 5, 7, 8, 9, 11, 16, 17, 19, 23, 25, 27, 31, 32, 49, 53, 59, 64, 67, 81, 83, 97, 103, 121, 125, 127, 128, 131, 227, 241, 243, 256, 277, 289, 311, 331, 343, 361, 419, 431, 509, 512, 529, 563, 625, 661, 691, 709, 719, 729, 739, 961, 1024, 1331, 1433, 1523, 1543, 1619, 1787, 1879, 2048, 2063, 2187, 2221, 2309, 2401, 2437, 2809, 2897
Offset: 1

Views

Author

Emeric Deutsch, Aug 18 2012

Keywords

Comments

The Matula-Goebel number of a rooted tree can be defined in the following recursive manner: to the one-vertex tree there corresponds the number 1; to a tree T with root degree 1 there corresponds the t-th prime number, where t is the Matula-Goebel number of the tree obtained from T by deleting the edge emanating from the root; to a tree T with root degree m>=2 there corresponds the product of the Matula-Goebel numbers of the m branches of T.
Generalized Bethe trees are called uniform trees in the Goldberg - Livshits reference.
There is a simple bijection between generalized Bethe trees with n edges and partitions of n in which each part is divisible by the next (the parts are given by the number of edges at the successive levels). We have the correspondences: number of edges --- sum of parts; root degree --- last part; number of leaves --- first part; height --- number of parts.

Examples

			7 is in the sequence because the corresponding rooted tree is Y, a generalized Bethe tree.
		

Crossrefs

Cf. A214578.
Differs from A243497 for the first time at n=31.

Programs

  • Maple
    with(numtheory): Q := proc (n) local r, s: r := proc (n) options operator, arrow; op(1, factorset(n)) end proc: s := proc (n) options operator, arrow: n/r(n) end proc: if n = 1 then 0 elif n = 2 then 1 elif bigomega(n) = 1 and Q(pi(n)) = 0 then 0 elif bigomega(n) = 1 then sort(expand(1+x*Q(pi(n)))) elif Q(r(n)) <> 0 and Q(s(n)) <> 0 and type(simplify(Q(r(n))/Q(s(n))), constant) = true then sort(Q(r(n))+Q(s(n))) else 0 end if end proc: A := {}; for n to 3000 do if Q(n) = 0 then  else A := `union`(A, {n}) end if end do: A;
  • Mathematica
    r[n_Integer] := r[n] = FactorInteger[n][[1, 1]];
    s[n_Integer] := n/r[n];
    Q[n_Integer] := Cancel@ Together@ Simplify@ Which[n == 1, 0, n == 2, 1, PrimeOmega[n] == 1 && Q[PrimePi[n]] === 0, 0, PrimeOmega[n] == 1, 1 + x * Q[PrimePi[n]], Q[r[n]] =!= 0 && Q[s[n]] =!= 0 && FreeQ[Q[r[n]]/Q[s[n]], x], Q[r[n]] + Q[s[n]], True, 0];
    A = {};
    For[n = 1, n <= 3000, n++, If[Q[n] === 0, , Print[n, " ", Q[n]]; A = Union[A, {n}]]];
    A (* Jean-François Alcover, Aug 03 2024, after Emeric Deutsch *)

Formula

In A214578 one has defined Q(n)=0 if n is the Matula-Goebel number of a rooted tree that is not a generalized Bethe tree and Q(n) to be a certain polynomial if n corresponds to a generalized Bethe tree. The Maple program makes use of this to find the Matula-Goebel numbers corresponding to the generalized Bethe trees.

A243496 Matula-Goebel signature computed for the oriented trees that stay same when "deep-rotated": a(n) = A127301(A243495(n)), listed in the same order as those tree are encoded in A014486.

Original entry on oeis.org

1, 2, 4, 3, 8, 7, 5, 16, 9, 19, 17, 11, 32, 53, 23, 67, 59, 31, 64, 27, 49, 131, 25, 241, 83, 331, 277, 127, 128, 311, 103, 227, 739, 97, 1523, 431, 2221, 1787, 709, 256, 81, 361, 719, 169, 169, 289, 2063, 121, 563, 1433, 5623, 509, 12763, 3001, 19577, 15299, 5381, 512
Offset: 0

Views

Author

Antti Karttunen, Jun 07 2014

Keywords

Comments

Note the first duplicate at a(43) = a(44) = 169, computed for two distinct fixed points in A243495: 1330 & 1535, which encode as A007088(A014486(1330)) = 1101100011100100 and A007088(A014486(1535)) = 1110010011011000 exactly those "dual cases" mentioned in the comments in A057546. Cf. also the comments at A243497.

Crossrefs

Programs

A243494 A243493 sorted into ascending order, with duplicates removed.

Original entry on oeis.org

1, 2, 3, 4, 5, 6, 8, 10, 11, 12, 13, 14, 16, 20, 22, 23, 24, 26, 28, 31, 32, 34, 37, 39, 40, 44, 46, 47, 48, 52, 56, 61, 62, 64, 68, 74, 76, 78, 80, 86, 88, 89, 92, 94, 96, 101, 104, 109, 112, 113, 118, 122, 123, 124
Offset: 0

Views

Author

Antti Karttunen, Jun 07 2014

Keywords

Crossrefs

Subsequences: A000079, A007097.

A243495 Indices in A014486 for the oriented trees that stay the same when "deep-rotated": fixed points of A057511/A057512.

Original entry on oeis.org

0, 1, 2, 3, 4, 7, 8, 9, 15, 17, 21, 22, 23, 45, 55, 58, 63, 64, 65, 113, 124, 129, 153, 170, 185, 189, 195, 196, 197, 393, 493, 515, 524, 564, 591, 612, 617, 624, 625, 626, 1103, 1237, 1251, 1330, 1535, 1628, 1679, 1794, 1859, 1897, 1911, 1973, 2012, 2040, 2046, 2054, 2055
Offset: 0

Views

Author

Antti Karttunen, Jun 07 2014

Keywords

Crossrefs

Showing 1-4 of 4 results.