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!)
A289022 Wiener index of the n-Apollonian network. 5

%I #18 Mar 03 2024 23:53:03

%S 6,27,204,1941,19572,198567,1999056,19931337,196939572,1930784091,

%T 18802964760,182062831005,1754100012108,16826739416271,

%U 160799296563312,1531421717572401,14540848734272388,137690120683444995,1300613432805623496,12258142039717884549

%N Wiener index of the n-Apollonian network.

%H Andrew Howroyd, <a href="/A289022/b289022.txt">Table of n, a(n) for n = 1..100</a>

%H Eric Weisstein's World of Mathematics, <a href="http://mathworld.wolfram.com/ApollonianNetwork.html">Apollonian Network</a>

%H Eric Weisstein's World of Mathematics, <a href="http://mathworld.wolfram.com/WienerIndex.html">Wiener Index</a>

%H <a href="/index/Rec#order_08">Index entries for linear recurrences with constant coefficients</a>, signature (23, -174, 448, -29, -1221, 2088, -4050, 2916).

%F a(n) = Sum_{k=1..1+floor(2*n/3)} k*A289722(n,k).

%F a(n) = 23*a(n-1) - 174*a(n-2) + 448*a(n-3) - 29*a(n-4) - 1221*a(n-5) + 2088*a(n-6) - 4050*a(n-7) + 2916*a(n-8).

%F G.f.: x*(6 - 111*x + 627*x^2 - 741*x^3 - 1497*x^4 + 2862*x^5 - 5670*x^6 + 8748*x^7)/((1 - x)*(1 - 3*x)^2*(1 - 9*x)^2*(1 + 2*x)*(1 + 2*x^2)).

%t (* Start from _Eric W. Weisstein_, Sep 07 2017 *)

%t Table[(6655 + 31 (-1)^n 2^(n + 2) + 5 3^(1 + 2 n) (24 + 11 n) + 3^(n + 1) (1197 + 55 n) + 5 2^(5 + n/2) Cos[n Pi/2] - 155 2^((3 + n)/2) Sin[n Pi/2])/3630, {n, 20}]

%t LinearRecurrence[{23, -174, 448, -29, -1221, 2088, -4050, 2916}, {6, 27, 204, 1941, 19572, 198567, 1999056, 19931337}, 20]

%t CoefficientList[Series[(6 - 111 x + 627 x^2 - 741 x^3 - 1497 x^4 + 2862 x^5 - 5670 x^6 + 8748 x^7)/((1 - x) (1 - 3 x)^2 (1 - 9 x)^2 (1 + 2 x) (1 + 2 x^2)), {x, 0, 20}], x]

%t (* End *)

%o (PARI)

%o R(dp, peq, p1, p2, x) = {[3*(dp - x + peq^2 + (2+7*x)*p1^2 + (7+2*x)*p2^2 + (4+2*x)*peq*p1 + 6*peq*p2 + 2*(4+5*x)*p1*p2 + x*(peq+3*p1+3*p2)), x*(1+3*p1), 2*(p1+p2), peq+p2]}

%o A(n,x) = {my(v=[6*x,x,0,0,x]); for(i=2, n, v=R(v[1],v[2],v[3],v[4],x)); v[1]}

%o Wiener(dp)=sum(i=1,poldegree(dp),i*polcoeff(dp,i));

%o a(n) = Wiener(A(n,x));

%Y Cf. A067771 (edges), A192792, A289521, A289722.

%K nonn

%O 1,1

%A _Andrew Howroyd_, Sep 02 2017

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 April 28 09:58 EDT 2024. Contains 372037 sequences. (Running on oeis4.)