|
|
A060557
|
|
Row sums of triangle A060556.
|
|
7
|
|
|
1, 3, 10, 33, 108, 352, 1145, 3721, 12087, 39254, 127469, 413908, 1343980, 4363921, 14169633, 46008619, 149389218, 485064009, 1574993356, 5113971944, 16604963593, 53915979657, 175064088671
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,2
|
|
COMMENTS
|
|
|
LINKS
|
|
|
FORMULA
|
G.f.: (1-x)^2/(1 - 5*x + 6*x^2 - x^3).
|
|
MATHEMATICA
|
LinearRecurrence[{5, -6, 1}, {1, 3, 10}, 30] (* Harvey P. Dale, Nov 29 2013 *)
|
|
PROG
|
(PARI) { f="b060557.txt"; a0=1; a1=3; a2=10; write(f, "0 1"); write(f, "1 3"); write(f, "2 10"); for (n=3, 500, write(f, n, " ", a=5*a2 - 6*a1 + a0); a0=a1; a1=a2; a2=a; ) } \\ Harry J. Smith, Jul 07 2009
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|