A171375 1+3*10^n+100^n.
5, 131, 10301, 1003001, 100030001, 10000300001, 1000003000001, 100000030000001, 10000000300000001, 1000000003000000001, 100000000030000000001, 10000000000300000000001, 1000000000003000000000001, 100000000000030000000000001, 10000000000000300000000000001
Offset: 0
Links
- Index entries for linear recurrences with constant coefficients, signature (111,-1110,1000)
Programs
-
Mathematica
LinearRecurrence[{111,-1110,1000},{5,131,10301},20] (* Harvey P. Dale, Jun 03 2016 *)
Formula
From Chai Wah Wu, May 30 2016: (Start)
a(n) = 111*a(n-1) - 1110*a(n-2) + 1000*a(n-3) for n > 2.
G.f.: (1310*x^2 - 424*x + 5)/((1 - x)*(1 - 10*x)*(1 - 100*x)). (End)
E.g.f.: (1 + 3*exp(9*x) + exp(99*x))*exp(x). - Ilya Gutkovskiy, May 30 2016
Extensions
More terms from Harvey P. Dale, Jun 03 2016