OFFSET
0,2
LINKS
G. C. Greubel, Table of n, a(n) for n = 0..958
Index entries for linear recurrences with constant coefficients, signature (19,-95,77).
FORMULA
G.f.: 1/(1-11*x) + 1/(1-7*x) - 1/(1-x).
E.g.f.: exp(11*x) + exp(7*x) - exp(x).
a(n) = 18*a(n-1)-77*a(n-2)-60 with a(0)=1, a(1)=17. - Vincenzo Librandi, Jul 21 2010
MATHEMATICA
Table[11^n+7^n-1, {n, 0, 20}] (* G. C. Greubel, Nov 18 2018 *)
PROG
(PARI) a(n)=11^n+7^n-1 \\ Charles R Greathouse IV, Jun 11 2015
(Magma) [11^n+7^n-1: n in [0..20]]; // G. C. Greubel, Nov 18 2018
(Sage) [11^n+7^n-1 for n in range(20)] # G. C. Greubel, Nov 18 2018
(GAP) List([0..20], n -> 11^n+7^n-1); # G. C. Greubel, Nov 18 2018
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Mohammad K. Azarian, Jan 31 2009
STATUS
approved