OFFSET
1,1
COMMENTS
Extended to a(1)-a(2) using the formula/recurrence.
LINKS
Eric Weisstein's World of Mathematics, Irredundant Set
Eric Weisstein's World of Mathematics, Pan Graph
Index entries for linear recurrences with constant coefficients, signature (1, 1, 0, 1, 0, -1).
FORMULA
a(n) = a(n-1) + a(n-2) + a(n-4) - a(n-6).
G.f.: (x (3 + 2 x - x^2 + 4 x^3 - 5 x^5))/(1 - x - x^2 - x^4 + x^6).
MATHEMATICA
Table[RootSum[1 - #^2 - #^4 - #^5 + #^6 &, 59603 #^n - 12384 #^(1 + n) - 10700 #^(2 + n) + 17668 #^(3 + n) + 3457 #^(4 + n) + 1652 #^(5 + n) &]/89653, {n, 20}]
LinearRecurrence[{1, 1, 0, 1, 0, -1}, {3, 5, 7, 16, 26, 42, 72, 125}, 20]
CoefficientList[Series[(3 + 2 x - x^2 + 4 x^3 - 5 x^5)/(1 - x - x^2 - x^4 + x^6), {x, 0, 20}], x]
CROSSREFS
KEYWORD
nonn
AUTHOR
Eric W. Weisstein, Aug 17 2017
STATUS
approved