login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A157802
a(n) = 27225*n^2 - 51302*n + 24168.
3
91, 30464, 115287, 254560, 448283, 696456, 999079, 1356152, 1767675, 2233648, 2754071, 3328944, 3958267, 4642040, 5380263, 6172936, 7020059, 7921632, 8877655, 9888128, 10953051, 12072424, 13246247, 14474520, 15757243, 17094416
OFFSET
1,1
COMMENTS
The identity (1482401250*n^2-2793393900*n+1315947601)^2-(27225*n^2-51302*n+24168)*(8984250*n-8464830)^2=1 can be written as A157804(n)^2-a(n)*A157803(n)^2=1.
FORMULA
G.f.: x*(91 + 30191*x + 24168*x^2)/(1 - x)^3.
a(n) = 3*a(n-1) - 3*a(n-2) + a(n-3).
MATHEMATICA
LinearRecurrence[{3, -3, 1}, {91, 30464, 115287}, 40]
PROG
(Magma) I:=[91, 30464, 115287]; [n le 3 select I[n] else 3*Self(n-1)-3*Self(n-2)+Self(n-3): n in [1..40]];
(PARI) a(n) = 27225*n^2 - 51302*n + 24168;
CROSSREFS
Sequence in context: A116507 A083828 A348088 * A214110 A119130 A195217
KEYWORD
nonn,easy
AUTHOR
Vincenzo Librandi, Mar 07 2009
STATUS
approved