|
|
A157730
|
|
a(n) = 441*n^2 - 488*n + 135.
|
|
3
|
|
|
88, 923, 2640, 5239, 8720, 13083, 18328, 24455, 31464, 39355, 48128, 57783, 68320, 79739, 92040, 105223, 119288, 134235, 150064, 166775, 184368, 202843, 222200, 242439, 263560, 285563, 308448, 332215, 356864, 382395, 408808, 436103, 464280
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
COMMENTS
|
The identity (388962*n^2 - 430416*n + 119071)^2 - (441*n^2 - 488*n + 135)*(18522*n - 10248)^2 = 1 can be written as A157732(n)^2 - a(n)*A157731(n)^2 = 1.
The continued fraction expansion of sqrt(a(n)) is [21n-12; {2, 1, 1, 1, 2, 41n-24}]. - Magus K. Chu, Sep 23 2022
|
|
LINKS
|
|
|
FORMULA
|
G.f.: x*(88 + 659*x + 135*x^2)/(1 - x)^3.
a(n) = 3*a(n-1) - 3*a(n-2) + a(n-3).
|
|
MATHEMATICA
|
LinearRecurrence[{3, -3, 1}, {88, 923, 2640}, 40]
|
|
PROG
|
(Magma) I:=[88, 923, 2640]; [n le 3 select I[n] else 3*Self(n-1)-3*Self(n-2)+1*Self(n-3): n in [1..40]];
(PARI) a(n) = 441*n^2 - 488*n + 135.
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|