|
|
|
|
578, 2308, 5190, 9224, 14410, 20748, 28238, 36880, 46674, 57620, 69718, 82968, 97370, 112924, 129630, 147488, 166498, 186660, 207974, 230440, 254058, 278828, 304750, 331824, 360050, 389428, 419958, 451640, 484474, 518460, 553598, 589888
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
COMMENTS
|
The identity (576*n+1)^2-(576*n^2+2*n)*(24)^2=1 can be written as A158370(n)^2-a(n)*(24)^2=1.
|
|
LINKS
|
|
|
FORMULA
|
a(n) = 3*a(n-1) -3*a(n-2) +a(n-3).
G.f.: x*(578+574*x)/(1-x)^3.
|
|
MATHEMATICA
|
LinearRecurrence[{3, -3, 1}, {578, 2308, 5190}, 50]
|
|
PROG
|
(Magma) I:=[578, 2308, 5190]; [n le 3 select I[n] else 3*Self(n-1)-3*Self(n-2)+1*Self(n-3): n in [1..50]];
(PARI) a(n) = 576*n^2 + 2*n.
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|