OFFSET
1,1
COMMENTS
Here, cliques means any complete subgraph (not just of maximum size).
LINKS
Eric Weisstein's World of Mathematics, Clique
Index entries for linear recurrences with constant coefficients, signature (5,-8,2,7,-7,2).
FORMULA
a(n) = (4*n^3 - 18*n^2 - 68*n - 79 - (-1)^n + 3*2^(n + 5))/16.
a(n) = 5*a(n-1)-8*a(n-2)+2*a(n-3)+7*a(n-4)-7*a(n-5)+2*a(n-6).
G.f.: (x*(-2 + 2*x - 3*x^2 + 3*x^3 + 5*x^4 - 2*x^5))/((-1 + x)^4*(-1 + x + 2*x^2)).
MATHEMATICA
Table[(4 n^3 - 18 n^2 - 68 n - 79 - (-1)^n + 3 2^(n + 5))/16, {n, 20}]
LinearRecurrence[{5, -8, 2, 7, -7, 2}, {2, 8, 27, 72, 169, 367}, 20]
CoefficientList[Series[(-2 + 2 x - 3 x^2 + 3 x^3 + 5 x^4 - 2 x^5)/((-1 + x)^4 (-1 + x + 2 x^2)), {x, 0, 20}], x]
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Eric W. Weisstein, Jul 13 2017
STATUS
approved