|
|
A017378
|
|
a(n) = (10*n + 9)^2.
|
|
3
|
|
|
81, 361, 841, 1521, 2401, 3481, 4761, 6241, 7921, 9801, 11881, 14161, 16641, 19321, 22201, 25281, 28561, 32041, 35721, 39601, 43681, 47961, 52441, 57121, 62001, 67081, 72361, 77841, 83521, 89401, 95481, 101761, 108241, 114921, 121801, 128881, 136161, 143641
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,1
|
|
LINKS
|
|
|
FORMULA
|
G.f.: (81 + 118*x + x^2) / (1 - x)^3.
a(n) = 3*a(n-1) - 3*a(n-2) + a(n-3) for n>2.
(End)
|
|
MAPLE
|
|
|
MATHEMATICA
|
Table[(10 n + 9)^2, {n, 0, 37}] (* or *)
LinearRecurrence[{3, -3, 1}, {81, 361, 841}, 38] (* or *)
CoefficientList[Series[(81 + 118 x + x^2)/(1 - x)^3, {x, 0, 37}], x] (* Michael De Vlieger, Mar 30 2017 *)
|
|
PROG
|
(PARI) Vec((81 + 118*x + x^2) / (1 - x)^3 + O(x^40)) \\ Colin Barker, Mar 30 2017
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|