OFFSET
1,2
COMMENTS
Extended to a(1)-a(2) using the formula/recurrence.
LINKS
Colin Barker, Table of n, a(n) for n = 1..1000
Eric Weisstein's World of Mathematics, Antiprism Graph
Eric Weisstein's World of Mathematics, Chromatic Invariant
Index entries for linear recurrences with constant coefficients, signature (5, -8, 5, -1).
FORMULA
a(n) = A005248(n) - 2*n - 1.
a(n) = phi^(2*n) + phi^(-2*n) - 2*n - 1.
a(n) = 5*a(n-1) - 8*a(n-2) + 5*a(n-3) - a(n-4).
G.f.: x^2*(2 + x - x^2)/((-1 + x)^2*(1 - 3*x + x^2)).
a(n) = -1 + ((3-sqrt(5))/2)^n + ((3+sqrt(5))/2)^n - 2*n. - Colin Barker, Nov 16 2017
MATHEMATICA
Table[LucasL[2 n] - 2 n - 1, {n, 3, 20}]
LinearRecurrence[{5, -8, 5, -1}, {0, 2, 11, 38}, 20]
CoefficientList[Series[(x (2 + x - x^2))/((-1 + x)^2 (1 - 3 x + x^2)), {x, 0, 20}], x]
PROG
(PARI) concat(0, Vec(x^2*(2 + x - x^2)/((-1 + x)^2*(1 - 3*x + x^2)) + O(x^40))) \\ Colin Barker, Nov 16 2017
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Eric W. Weisstein, Nov 16 2017
STATUS
approved