OFFSET
0,2
LINKS
FORMULA
a(n+3) = 4*a(n+2) + 5*a(n) with n > 0, a(0) = 1, a(1) = 4, a(2) = 17.
G.f.: ( -1-x^2 ) / ( -1+4*x+5*x^3 ). - R. J. Mathar, Nov 07 2015
MATHEMATICA
RecurrenceTable[{a[0] == 1, a[1] == 4, a[2] == 17, a[n] == 4*a[n - 1] + 5*a[n - 3]}, a[n], {n, 0, 23}]
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Milan Janjic, Feb 28 2015
STATUS
approved