OFFSET
0,2
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..500
Index entries for linear recurrences with constant coefficients, signature (19,-94,120).
FORMULA
G.f.: 1/((1-2*x)*(1-5*x)*(1-12*x)).
From Vincenzo Librandi, Sep 01 2011: (Start)
a(n) = (14*2^n - 125*5^n + 216*12^n)/105.
a(n) = 19*a(n-1)- 94*a(n-2) + 120*a(n-3) for n > 2.
a(n) = 17*a(n-1) - 60*a(n-2) + 2^n for n > 1. (End)
PROG
(Magma) [(14*2^n-125*5^n+216*12^n)/105: n in [0..20]]; // Vincenzo Librandi, Sep 01 2011
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved