OFFSET
0,2
LINKS
FORMULA
From R. J. Mathar, Dec 08 2008: (Start)
a(n) = 7*a(n-1)-10*a(n-2), n > 3.
G.f.: (1-3*x+5*x^2)/((1-5*x)*(1-2*x)). [corrected by Vaclav Kotesovec, May 16 2021] (End)
MATHEMATICA
Table[If [n == 0, 1, 5^n - 2^(n - 1)], {n, 0, 20}]
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Roger L. Bagula, Oct 09 2008
EXTENSIONS
a(20) corrected by Georg Fischer, May 15 2021
STATUS
approved