A351632 Number of copies of the star graph S(2,1,1,1) contained in the n-dimensional hypercube graph.
0, 0, 0, 192, 2560, 19200, 107520, 501760, 2064384, 7741440, 27033600, 89210880, 281149440, 852819968, 2504785920, 7156531200, 19964887040, 54546923520, 146314100736, 386106654720, 1004116377600, 2577232035840, 6536738897920, 16401272143872, 40748502220800
Offset: 1
Links
- Amiram Eldar, Table of n, a(n) for n = 1..3266
- Index entries for linear recurrences with constant coefficients, signature (12,-60,160,-240,192,-64).
Programs
-
Mathematica
a[n_] := 2^n * Binomial[n, 3] * (n - 1) * (n - 3); Array[a, 25] (* Amiram Eldar, May 23 2022 *)
-
PARI
a(n) = 2^n*binomial(n,3)*(n-1)*(n-3); \\ Michel Marcus, May 23 2022
-
Python
from math import comb def a(n): return (2**n)*comb(n, 3)*(n-3)*(n-1)
Formula
a(n) = 2^n*binomial(n,3)*(n-1)*(n-3).
G.f.: 64*x^4*(3 + 4*x)/(1 - 2*x)^6. - Stefano Spezia, May 20 2022
Sum_{n>=4} 1/a(n) = Pi^2/8 + 17*log(2)/16 - 3*log(2)^2/4 - 77/48. - Amiram Eldar, May 23 2022
Comments