A165229 a(n) = 12*a(n-1) - 6*a(n-2), with a(0)=1, a(1)=6.
1, 6, 66, 756, 8676, 99576, 1142856, 13116816, 150544656, 1727834976, 19830751776, 227602011456, 2612239626816, 29981263453056, 344101723675776, 3949333103390976, 45327386898637056, 520232644163298816, 5970827408567763456, 68528533037833368576, 786517432002593842176
Offset: 0
Links
- Andrew Howroyd, Table of n, a(n) for n = 0..500
- Index entries for linear recurrences with constant coefficients, signature (12,-6).
Programs
-
Mathematica
LinearRecurrence[{12,-6},{1,6},25] (* Paolo Xausa, Jan 04 2024 *)
-
PARI
Vec((1 - 6*x)/(1 - 12*x + 6*x^2) + O(x^25)) \\ Andrew Howroyd, Apr 13 2021
Formula
G.f.: (1 - 6*x)/(1 - 12*x + 6*x^2).
Extensions
Terms a(11) and beyond from Andrew Howroyd, Apr 13 2021