OFFSET
0,2
LINKS
Index entries for linear recurrences with constant coefficients, signature (14,-43,30).
FORMULA
G.f.: 1/(1-10*x)+1/(1-3*x)-1/(1-x).
E.g.f.: e^(10*x)+e^(3*x)-e^x.
a(n) = 13*a(n-1)-30*a(n-2)-18 with a(0)=1, a(1)=12. - Vincenzo Librandi, Jul 21 2010
MAPLE
MATHEMATICA
Table[10^n + 3^n - 1, {n, 0, 30}] (* Wesley Ivan Hurt, Apr 02 2014 *)
PROG
(PARI) a(n)=10^n+3^n-1 \\ Charles R Greathouse IV, Sep 28 2015
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Mohammad K. Azarian, Jan 25 2009
STATUS
approved