[go: up one dir, main page]

login
A157459
Expansion of 72*x^2 / (1 - 323*x + 323*x^2 - x^3).
4
0, 72, 23256, 7488432, 2411251920, 776415629880, 250003421569512, 80500325329753056, 25920854752758914592, 8346434730063040745640, 2687526062225546361181560, 865375045601895865259716752, 278648077157748243067267612656, 89723815469749332371794911558552
OFFSET
1,2
COMMENTS
This sequence is part of a solution of a more general problem involving two equations, three sequences a(n), b(n), c(n) and a constant A:
A * c(n) + 1 = a(n)^2,
(A+1) * c(n) + 1 = b(n)^2; for details see comment in A157014.
A157459 is the c(n) sequence for A=4.
FORMULA
G.f.: 72*x^2/(1 - 323*x + 323*x^2 - x^3).
c(1) = 0, c(2) = 72, c(3) = 323*c(2), c(n) = 323*(c(n-1) - c(n-2)) + c(n-3) for n>3.
a(n) = -((161+72*sqrt(5))^(-n)*(-1+(161+72*sqrt(5))^n)*(9+4*sqrt(5)+(-9+4*sqrt(5))*(161+72*sqrt(5))^n))/80. - Colin Barker, Jul 25 2016
a(n) = 72*A298271(n-1). - Greg Dresden, Dec 02 2021
MATHEMATICA
LinearRecurrence[{323, -323, 1}, {0, 72, 23256}, 20] (* Harvey P. Dale, Feb 28 2021 *)
PROG
(PARI) concat(0, Vec(72*x^2/(1-323*x+323*x^2-x^3)+O(x^20))) \\ Charles R Greathouse IV, Sep 26 2012
(PARI) a(n) = -round((161+72*sqrt(5))^(-n)*(-1+(161+72*sqrt(5))^n)*(9+4*sqrt(5)+(-9+4*sqrt(5))*(161+72*sqrt(5))^n))/80 \\ Colin Barker, Jul 25 2016
CROSSREFS
4*A157459(n) + 1 = A007805(n)^2.
5*A157459(n) + 1 = A049629(n-1)^2.
Sequence in context: A373650 A243234 A246633 * A159393 A151627 A223124
KEYWORD
nonn,easy
AUTHOR
Paul Weisenhorn, Mar 01 2009
EXTENSIONS
Edited by Alois P. Heinz, Sep 09 2011
STATUS
approved