OFFSET
1,2
COMMENTS
F(3,4)=Y_Y_Y (roughly).
LINKS
B. E. Sagan, Y-N. Yeh and P. Zhang, The Wiener Polynomial of a Graph, Internat. J. of Quantum Chem., 60, 1996, 959-969.
Eric Weisstein's World of Mathematics, Firecracker Graph.
FORMULA
T(n,k)=(1/6)n(6+6k-7k^2+n^2*k^2+12nk^2-18nk).
The Wiener polynomial of the graph F(n,k) is W(n,k,t)=n*w+t[n(1-t)-(1-t^n)]r^2/(1-t)^2, where w=(k-1)t+(1/2)(k-1)(k-2)t^2 and r=1+t+(k-2)t^2.
EXAMPLE
T(1,3)=4 because the firecracker graph F(1,3) reduces to a path on 3 nodes, where the distances are 1, 1, and 2.
Square array T(n,k) begins:
1,4,9,16,25,36,49, ...
10,35,74,127,194,275,370, ...
31,102,211,358,543,766,1027, ...
68,214,436,734,1108,1558,2084, ...
125,380,765,1280,1925,2700,3605, ...
MAPLE
T := proc (n, k) options operator, arrow; (1/6)*n*(6+6*k-7*k^2+n^2*k^2+12*n*k^2-18*n*k) end proc: for n to 10 do seq(T(n+2-i, i), i = 2 .. n+1) end do; # yields sequence in triangular form
CROSSREFS
KEYWORD
nonn,tabl
AUTHOR
Emeric Deutsch, Sep 29 2010
STATUS
approved