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.

A193401 Triangle read by rows: row n contains the coefficients (of the increasing powers of the variable) of the characteristic polynomial of the Laplacian matrix of the rooted tree having Matula-Göbel number n.

This page as a plain text file.
%I A193401 #18 Mar 07 2017 06:50:41
%S A193401 0,1,0,-2,1,0,3,-4,1,0,3,-4,1,0,-4,10,-6,1,0,-4,10,-6,1,0,-4,9,-6,1,0,
%T A193401 -4,9,-6,1,0,5,-20,21,-8,1,0,5,-20,21,-8,1,0,5,-20,21,-8,1,0,5,-18,20,
%U A193401 -8,1,0,5,-18,20,-8,1,0,5,-18,20,-8,1,0,-6,35,-56,36,-10,1,0,5,-16,18,-8,1,0,5,-18,20,-8,1
%N A193401 Triangle read by rows: row n contains the coefficients (of the increasing powers of the variable) of the characteristic polynomial of the Laplacian matrix of the rooted tree having Matula-Göbel number n.
%C A193401 Row n contains 1+A061775(n) entries (= 1+ number of vertices of the rooted tree).
%C A193401 The Matula-Göbel 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-Göbel 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-Göbel numbers of the m branches of T.
%H A193401 E. Deutsch, <a href="http://arxiv.org/abs/1111.4288"> Rooted tree statistics from Matula numbers</a>, arXiv:1111.4288 [math.CO], 2011.
%H A193401 F. Göbel, <a href="http://dx.doi.org/10.1016/0095-8956(80)90049-0">On a 1-1-correspondence between rooted trees and natural numbers</a>, J. Combin. Theory, B 29 (1980), 141-143.
%H A193401 I. Gutman and A. Ivic, <a href="http://dx.doi.org/10.1016/0012-365X(95)00182-V">On Matula numbers</a>, Discrete Math., 150, 1996, 131-142.
%H A193401 I. Gutman and Yeong-Nan Yeh, <a href="http://www.emis.de/journals/PIMB/067/3.html">Deducing properties of trees from their Matula numbers</a>, Publ. Inst. Math., 53 (67), 1993, 17-22.
%H A193401 D. W. Matula, <a href="http://www.jstor.org/stable/2027327">A natural rooted tree enumeration by prime factorization</a>, SIAM Rev. 10 (1968) 273.
%H A193401 <a href="/index/Mat#matula">Index entries for sequences related to Matula-Goebel numbers</a>
%F A193401 Let T be a rooted tree with root b. If b has degree 1, then let A be the rooted tree with root c, obtained from T by deleting the edge bc emanating from the root. If b has degree >=2, then A is obtained (not necessarily in a unique way) by joining at b two trees B and C, rooted at b. It is straightforward to express the distance matrix of T in terms of the entries of the distance matrix of A (resp. of B and C). Making use of this, the Maple program (improvable!) finds recursively the distance matrices of the rooted trees with Matula-Göbel numbers 1..1000 (upper limit can be altered), then switches (easily) to the Laplacian matrices and finds the coefficients of their characteristic polynomials.
%e A193401 Row 4 is 0, 3, -4, 1 because the rooted tree having Matula-Goebel number 4 is V; the Laplacian matrix is [2,-1,-1; -1,1,0; -1,0,1], having characteristic polynomial x^3 - 4x^2 +3x
%e A193401 Triangle starts:
%e A193401 0, 1;
%e A193401 0, -2, 1;
%e A193401 0, 3, -4, 1;
%e A193401 0, 3, -4, 1;
%e A193401 0, -4, 10, -6, 1;
%e A193401 0, -4, 10, -6, 1;
%e A193401 0, -4, 9, -6, 1;
%e A193401 0, -4, 9, -6, 1;
%p A193401 with(numtheory): with(linalg): with(LinearAlgebra): DA := proc (d) local aa: aa := proc (i, j) if d[i, j] = 1 then 1 else 0 end if end proc: Matrix(RowDimension(d), RowDimension(d), aa) end proc: AL := proc (a) local ll: ll := proc (i, j) if i = j then add(a[i, k], k = 1 .. RowDimension(a)) else -a[i, j] end if end proc: Matrix(RowDimension(a), RowDimension(a), ll) end proc: V := 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 1 elif bigomega(n) = 1 then 1+V(pi(n)) else V(r(n))+V(s(n))-1 end if end proc: d := proc (n) local r, s, C, a: r := proc (n) options operator, arrow: op(1, factorset(n)) end proc: s := proc (n) options operator, arrow: n/r(n) end proc: C := proc (A, B) local c: c := proc (i, j) options operator, arrow: A[1, i]+B[1, j+1] end proc: Matrix(RowDimension(A), RowDimension(B)-1, c) end proc: a := proc (i, j) if i = 1 and j = 1 then 0 elif 2 <= i and 2 <= j then dd[pi(n)][i-1, j-1] elif i = 1 then 1+dd[pi(n)][1, j-1] elif j = 1 then 1+dd[pi(n)][i-1, 1] else  end if end proc: if n = 1 then Matrix(1, 1, [0]) elif bigomega(n) = 1 then Matrix(V(n), V(n), a) else Matrix(blockmatrix(2, 2, [dd[r(n)], C(dd[r(n)], dd[s(n)]), Transpose(C(dd[r(n)], dd[s(n)])), SubMatrix(dd[s(n)], 2 .. RowDimension(dd[s(n)]), 2 .. RowDimension(dd[s(n)]))])) end if end proc: for n to 1000 do dd[n] := d(n) end do: for n from 1 to 18 do seq(coeff(CharacteristicPolynomial(AL(DA(d(n))), x), x, k), k = 0 .. V(n)) end do; # yields triangle in triangular form
%Y A193401 Cf. A061775, A184187, A193403.
%K A193401 sign,tabf
%O A193401 1,4
%A A193401 _Emeric Deutsch_, Feb 09 2012