A190954 a(n) = 10*a(n-1) + 4*a(n-2), with a(0)=0, a(1)=1.
0, 1, 10, 104, 1080, 11216, 116480, 1209664, 12562560, 130464256, 1354892800, 14070785024, 146127421440, 1517557354496, 15760083230720, 163671061725184, 1699750950174720, 17652193748647936, 183320941287178240, 1903818187866374144, 19771465643812454400
Offset: 0
Links
- G. C. Greubel, Table of n, a(n) for n = 0..970
- Index entries for linear recurrences with constant coefficients, signature (10,4).
Programs
-
Magma
I:=[0,1]; [n le 2 select I[n] else 10*Self(n-1) + 4*Self(n-2): n in [1..30]]; // G. C. Greubel, Jan 24 2018
-
Mathematica
LinearRecurrence[{10,4}, {0,1}, 50] CoefficientList[Series[x/(1-10*x-4*x^2), {x,0,50}], x] (* G. C. Greubel, Jan 24 2018 *)
-
PARI
x='x+O('x^30); concat([0], Vec(x/(1-10*x-4*x^2))) \\ G. C. Greubel, Jan 24 2018
Formula
G.f.: x/(1 - 10*x - 4*x^2). - R. J. Mathar, Nov 21 2011