|
|
A066280
|
|
a(n) = 1^n + 2^(n+1) + 3^(n+2).
|
|
2
|
|
|
5, 12, 32, 90, 260, 762, 2252, 6690, 19940, 59562, 178172, 533490, 1598420, 4791162, 14365292, 43079490, 129205700, 387551562, 1162523612, 3487308690, 10461401780, 31383156762, 94147373132, 282437925090, 847305386660
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
-1,1
|
|
LINKS
|
|
|
FORMULA
|
a(n) = 6*a(n-1) - 11*a(n-2) + 6*a(n-3).
G.f.: (-18*x+15*x^2+5)/((1-x) * (3*x-1) * (2*x-1) * x). (End)
|
|
MATHEMATICA
|
Table[ 1^(n + 1) + 2^(n + 2) + 3^(n + 3), {n, -2, 24} ]
|
|
PROG
|
(PARI) { for (n=-1, 200, write("b066280.txt", n, " ", 1^n + 2^(n + 1) + 3^(n + 2)) ) } \\ Harry J. Smith, Feb 08 2010
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|