A155624 11^n-3^n+1.
1, 9, 113, 1305, 14561, 160809, 1770833, 19484985, 214352321, 2357928009, 25937365553, 285311493465, 3138427845281, 34522710549609, 379749828800273, 4177248155066745, 45949729820525441, 505447028370153609
Offset: 0
Links
- Index entries for linear recurrences with constant coefficients, signature (15,-47,33).
Crossrefs
Programs
-
Mathematica
LinearRecurrence[{15,-47,33},{1,9,113},20] (* Harvey P. Dale, Nov 02 2021 *)
-
PARI
a(n)=11^n-3^n+1 \\ Charles R Greathouse IV, Jun 11 2015
Formula
G.f.: 1/(1-11*x)-1/(1-3*x)+1/(1-x). E.g.f.: e^(11*x)-e^(3*x)+e^x.
a(n)=14*a(n-1)-33*a(n-2)+20 with a(0)=1, a(1)=9 - Vincenzo Librandi, Jul 21 2010