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