|
|
A216243
|
|
Partial sums of the squares of Lucas numbers (A000032).
|
|
1
|
|
|
4, 5, 14, 30, 79, 200, 524, 1365, 3574, 9350, 24479, 64080, 167764, 439205, 1149854, 3010350, 7881199, 20633240, 54018524, 141422325, 370248454, 969323030, 2537720639, 6643838880, 17393796004, 45537549125, 119218851374, 312119004990, 817138163599, 2139295485800
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,1
|
|
LINKS
|
|
|
FORMULA
|
G.f.: ( -4+7*x+x^2 ) / ( (x-1)*(1+x)*(x^2-3*x+1) ).
a(n) = L(2*n+1) + 2 + (-1)^n, for L(n) the Lucas sequence A000032(n). - Greg Dresden, Jan 26 2021
|
|
MAPLE
|
end proc;
A := proc(n)
end proc:
|
|
MATHEMATICA
|
Accumulate[LucasL[Range[0, 30]]^2] (* or *) LinearRecurrence[{3, 0, -3, 1}, {4, 5, 14, 30}, 30] (* Harvey P. Dale, Oct 13 2019 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|