|
|
A113450
|
|
Difference between the square root of n-th square triangular number and n-th lambda number given by the recurrence f(n) = 2f(n-1) + f(n-2), f(1) = 1, f(2)= 2.
|
|
1
|
|
|
0, 4, 30, 192, 1160, 6860, 40222, 235008, 1371120, 7994836, 46605438, 271656000, 1583374520, 9228697244, 53789065150, 313506312192, 1827250301280, 10649999100580, 62072753005662, 361786539945408, 2108646537394280
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,2
|
|
LINKS
|
|
|
FORMULA
|
a(n) = 8*a(n-1) - 12*a(n-2) - 4*a(n-3) + a(n-4).
G.f.: (2*x^2)*(2-x) / ((1-2*x-x^2)*(1-6*x+x^2)). (End)
|
|
MAPLE
|
|
|
MATHEMATICA
|
LinearRecurrence[{8, -12, -4, 1}, {0, 4, 30, 192}, 50] (* or *) CoefficientList[Series[(2*x^2)*(2-x)/((1-2*x-x^2)*(1-6*x+x^2)), {x, 0, 50}], x] (* G. C. Greubel, Mar 11 2017 *)
|
|
PROG
|
(PARI) x='x+O('x^50); concat([0], Vec((2*x^2)*(2-x)/((1-2*x-x^2)*(1-6*x+x^2)))) \\ G. C. Greubel, Mar 11 2017
|
|
CROSSREFS
|
|
|
KEYWORD
|
easy,nonn
|
|
AUTHOR
|
K. B. Subramaniam (subramaniam_kb05(AT)yahoo.co.in), Nov 02 2005
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|