OFFSET
0,4
LINKS
Eric Weisstein's World of Mathematics, Dorogovtsev-Goltsev-Mendes Graph.
Eric Weisstein's World of Mathematics, Graph Cycle.
Index entries for linear recurrences with constant coefficients, signature (7, -18, 22, -13, 3).
FORMULA
a(n) = (65*3^n - 84*n - 6*n^2 - 40*n^3 - 65)/8.
a(n) = 7*a(n-1) - 18*a(n-2) + 22*a(n-3) - 13*a(n-4) + 3*a(n-5).
G.f.: -x^2*(1+31*x+28*x^2)/((-1+x)^4*(-1+3*x)).
MATHEMATICA
Table[(65 3^n - 84 n - 6 n^2 - 40 n^3 - 65)/8, {n, 0, 20}]
LinearRecurrence[{7, -18, 22, -13, 3}, {0, 0, 1, 38, 276}, 20]
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Eric W. Weisstein, Dec 06 2023
STATUS
approved