OFFSET
0,4
LINKS
Index entries for linear recurrences with constant coefficients, signature (1,-7,-1).
FORMULA
G.f.: (1/2)*(x/(1 - x))*g(f(x)), where f(x) = (1 + x)/(-1 + x), and g(x) = (1-x^2)/(1 - x^2 - x^3) is the g.f. of the Padovan sequence A000931.
a(n) = a(n-1) - 7*a(n-2) - a(n-3), n >= 4. - Franck Maminirina Ramaharo, Jan 06 2019
MATHEMATICA
CoefficientList[Series[x*(1 - x^2)/(1 - x + 7*x^2 + x^3), {x, 0, 50}], x]
PROG
(Maxima) (a[0] : 0, a[1] : 1, a[2] : 1, a[3] : -7, a[n] := a[n-1] - 7*a[n-2] - a[n-3], makelist(a[n], n, 0, 50)); /* Franck Maminirina Ramaharo, Jan 06 2019 */
CROSSREFS
KEYWORD
sign,easy,less
AUTHOR
Roger L. Bagula, Mar 29 2010
EXTENSIONS
Edited by Franck Maminirina Ramaharo, Jan 06 2019
STATUS
approved