|
|
A140766
|
|
a(n) = 6*a(n-1) - 6*a(n-2).
|
|
2
|
|
|
1, 5, 24, 114, 540, 2556, 12096, 57240, 270864, 1281744, 6065280, 28701216, 135815616, 642686400, 3041224704, 14391229824, 68100030720, 322252805376, 1524916647936, 7215983055360, 34146398444544, 161582492335104, 764616563343360, 3618204426049536
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,2
|
|
COMMENTS
|
Companion sequence = A030192 beginning (1, 6, 30, 144, 684,...).
|
|
LINKS
|
|
|
FORMULA
|
a(n) = 6*a(n-1) - 6*a(n-2); a(1) = 1, a(2) = 5.
Term (1,1) of M^n, where M = the 3x3 matrix [1,1,1; 1,2,1; 3,1,3].
|
|
EXAMPLE
|
a(5) = 540 = 6*a(4) - 6*a(3) = 6*(114) - 6*24.
a(5) = 540 = term (1,1) of X^5.
|
|
MATHEMATICA
|
LinearRecurrence[{6, -6}, {1, 5}, 30] (* Harvey P. Dale, Oct 01 2014 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|