|
|
|
|
146, 580, 1302, 2312, 3610, 5196, 7070, 9232, 11682, 14420, 17446, 20760, 24362, 28252, 32430, 36896, 41650, 46692, 52022, 57640, 63546, 69740, 76222, 82992, 90050, 97396, 105030, 112952, 121162, 129660, 138446, 147520, 156882, 166532
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
COMMENTS
|
The identity (144*n+1)^2-(144*n^2+2*n)*(12)^2=1 can be written as A158133(n)^2-a(n)*(12)^2=1.
|
|
LINKS
|
|
|
FORMULA
|
a(n) = 3*a(n-1) -3*a(n-2) +a(n-3).
G.f.: x*(-142*x-146)/(x-1)^3.
|
|
MATHEMATICA
|
LinearRecurrence[{3, -3, 1}, {146, 580, 1302}, 50]
|
|
PROG
|
(Magma) I:=[146, 580, 1302]; [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) = 144*n^2 + 2*n.
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|