A155621 10^n+4^n-1^n.
1, 13, 115, 1063, 10255, 101023, 1004095, 10016383, 100065535, 1000262143, 10001048575, 100004194303, 1000016777215, 10000067108863, 100000268435455, 1000001073741823, 10000004294967295, 100000017179869183
Offset: 0
Keywords
Links
- Index entries for linear recurrences with constant coefficients, signature (15,-54,40).
Crossrefs
Programs
-
Mathematica
LinearRecurrence[{15,-54,40},{1,13,115},20] (* Harvey P. Dale, Oct 24 2016 *)
Formula
G.f.: 1/(1-10*x)+1/(1-4*x)-1/(1-x). E.g.f.: e^(10*x)+e^(4*x)-e^x.
a(n)=14*a(n-1)-40*a(n-2)-27 with a(0)=1, a(1)=13 [From Vincenzo Librandi, Jul 21 2010]