|
|
A140064
|
|
a(n) = (9*n^2 - 23*n + 16)/2.
|
|
5
|
|
|
1, 3, 14, 34, 63, 101, 148, 204, 269, 343, 426, 518, 619, 729, 848, 976, 1113, 1259, 1414, 1578, 1751, 1933, 2124, 2324, 2533, 2751, 2978, 3214, 3459, 3713, 3976, 4248, 4529, 4819, 5118, 5426, 5743, 6069, 6404, 6748
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,2
|
|
COMMENTS
|
Binomial transform of [1, 2, 9, 0, 0, 0, ...].
|
|
LINKS
|
|
|
FORMULA
|
a(n) = 3*a(n-1) - 3*a(n-2) + a(n-3); a(1)=1, a(2)=3, a(3)=14. - Harvey P. Dale, Oct 01 2011
|
|
MAPLE
|
|
|
MATHEMATICA
|
Table[(9n^2-23n+16)/2, {n, 40}] (* or *) LinearRecurrence[{3, -3, 1}, {1, 3, 14}, 40] (* Harvey P. Dale, Oct 01 2011 *)
|
|
PROG
|
(Magma) [ n eq 1 select 1 else Self(n-1)+9*n-16: n in [1..50] ];
(PARI) x='x+O('x^50); Vec(x*(1+8*x^2)/(1-x)^3) \\ G. C. Greubel, Feb 18 2017
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|