A155637 a(n) = 10^n+5^n-1.
1, 14, 124, 1124, 10624, 103124, 1015624, 10078124, 100390624, 1001953124, 10009765624, 100048828124, 1000244140624, 10001220703124, 100006103515624, 1000030517578124, 10000152587890624, 100000762939453124, 1000003814697265624, 10000019073486328124
Offset: 0
Links
- Harvey P. Dale, Table of n, a(n) for n = 0..998
- Index entries for linear recurrences with constant coefficients, signature (16,-65,50).
Crossrefs
Programs
-
Maple
A155637:=n->10^n+5^n-1; seq(A155637(n), n=0..20); # Wesley Ivan Hurt, Feb 02 2014
-
Mathematica
Table[10^n+5^n-1,{n,0,20}] (* or *) LinearRecurrence[{16,-65,50},{1,14,124},20] (* Harvey P. Dale, Oct 17 2011 *)
-
PARI
a(n)=10^n+5^n-1 \\ Charles R Greathouse IV, Jun 11 2015
Formula
G.f.: 1/(1-10*x)+1/(1-5*x)-1/(1-x).
E.g.f.: e^(10*x)+e^(5*x)-e^x.
a(n) = 15*a(n-1)-50*a(n-2)-36 with a(0)=1, a(1)=14. - Vincenzo Librandi, Jul 21 2010
a(0)=1, a(1)=14, a(2)=124, a(n) = 16*a(n-1)-65*a(n-2)+50*a(n-3). - Harvey P. Dale, Oct 17 2011