A093953 a(n) = rightmost term in M^n * [1,1,1], where M = a 3 X 3 matrix composed of the first 3 rows of A050166 (fill in the matrix with zeros): = [1 0 0 / 1 2 0 / 1 4 5].
1, 10, 63, 344, 1781, 9030, 45403, 227524, 1138641, 5695250, 28480343, 142409904, 712065901, 3560362270, 17801876883, 89009515484
Offset: 0
Examples
a(4) = 1781 since M^4 * [1,1,1] = [1, 31, 1781].
Links
- Index entries for linear recurrences with constant coefficients, signature (8,-17,10).
Programs
-
PARI
M=[1,0,0;1,2,0;1,4,5];for(i=0,16,print1((M^i)[3,1]", ")) \\ Klasen
Formula
Or simply with M=[1, 0, 0;1, 2, 0;1, 4, 5], a(n)=(M^n)[3, 1], (adds a leading 0 to sequence). - Lambert Klasen (lambert.klasen(AT)gmx.net), Jan 30 2005
G.f.: (1+2*x)/(1-8*x+17*x^2-10*x^3). - Colin Barker, Jan 31 2012
Comments