Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A143370
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A143370 Triangle read by rows: T(n,k) is the number of unordered pairs of vertices at distance k in the grid P_2 x P_n (1<=k<=n). P_m is the path graph on m vertices. +0
2
1, 4, 2, 7, 6, 2, 10, 10, 6, 2, 13, 14, 10, 6, 2, 16, 18, 14, 10, 6, 2, 19, 22, 18, 14, 10, 6, 2, 22, 26, 22, 18, 14, 10, 6, 2, 25, 30, 26, 22, 18, 14, 10, 6, 2, 28, 34, 30, 26, 22, 18, 14, 10, 6, 2, 31, 38, 34, 30, 26, 22, 18, 14, 10, 6, 2, 34, 42, 38, 34, 30, 26, 22, 18, 14, 10, 6, 2 (list; graph; listen)
OFFSET

1,2

COMMENT

Sum of entries in row n = n(2n-1)=A000384(n).

The entries in row n are the coefficients of the Wiener polynomial of the grid P_2 x P_n.

Sum(k*T(n,k),k=1..n)=A143371(n) = the Wiener index of the grid P_2 x P_n.

The average of all distances in the grid P_2 x P_n is (n+2)/3.

REFERENCES

B. E. Sagan, Y-N. Yeh and P. Zhang, The Wiener Polynomial of a Graph, Internat. J. of Quantum Chem., 60, 1996, 959-969.

FORMULA

G.f.=G(q,z)=qz(1+2z+qz)/[(1-qz)(1-z)^2].

EXAMPLE

T(2,1)=4 because in the graph P_2 x P_2 (a square) we have 4 distances equal to 1.

Triangle starts: 1; 4,2; 7,6,2; 10,10,6,2; 13,14,10,6,2;

MAPLE

G:=q*z*(1+2*z+q*z)/((1-z)^2*(1-q*z)): Gser:= simplify(series(G, z=0, 15)): for n to 12 do p[n]:=sort(coeff(Gser, z, n)) end do: for n to 12 do seq(coeff(p[n], q, j), j=1..n) end do; # yields sequence in triangular form

CROSSREFS

A000384, A143371

Sequence in context: A109857 A002560 A124908 this_sequence A016695 A125271 A092314

Adjacent sequences: A143367 A143368 A143369 this_sequence A143371 A143372 A143373

KEYWORD

nonn

AUTHOR

Emeric Deutsch (deutsch(AT)duke.poly.edu), Sep 05 2008

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified November 29 12:46 EST 2009. Contains 167659 sequences.


AT&T Labs Research