login
A165229
a(n) = 12*a(n-1) - 6*a(n-2), with a(0)=1, a(1)=6.
2
1, 6, 66, 756, 8676, 99576, 1142856, 13116816, 150544656, 1727834976, 19830751776, 227602011456, 2612239626816, 29981263453056, 344101723675776, 3949333103390976, 45327386898637056, 520232644163298816, 5970827408567763456, 68528533037833368576, 786517432002593842176
OFFSET
0,2
FORMULA
G.f.: (1 - 6*x)/(1 - 12*x + 6*x^2).
MATHEMATICA
LinearRecurrence[{12, -6}, {1, 6}, 25] (* Paolo Xausa, Jan 04 2024 *)
PROG
(PARI) Vec((1 - 6*x)/(1 - 12*x + 6*x^2) + O(x^25)) \\ Andrew Howroyd, Apr 13 2021
CROSSREFS
Sequence in context: A022024 A186666 A129554 * A247740 A253621 A127857
KEYWORD
nonn,easy
AUTHOR
Philippe Deléham, Sep 09 2009
EXTENSIONS
Terms a(11) and beyond from Andrew Howroyd, Apr 13 2021
STATUS
approved