OFFSET
0,2
COMMENTS
REFERENCES
J. V. Uspensky and M. A. Heaslet, Elementary Number Theory, McGraw-Hill, 1939. See p. 427.
LINKS
Seiichi Manyama, Table of n, a(n) for n = 0..49
FORMULA
Right triangle with sides |10*Y(n)*W(n) / (X(n)*Z(n))|, |X(n)*Z(n) / (Y(n)*W(n))|, |2*Y(2*n) / W(2*n)| has area 5.
Y(2*n) = Y(n)^4 + 25 * W(n)^4.
a(n+2) * a(n-2) = -144*a(n+1) * a(n-1) + 2257 * a(n)^2. a(-n) = a(n).
PROG
(PARI) {a(n) = n=abs(n); if( n<1, 1, if( n<4, [2, 41, 1562][n], (-144 * a(n-1) * a(n-3) + 2257 * a(n-2)^2 ) / a(n-4) ))};
CROSSREFS
KEYWORD
sign
AUTHOR
Michael Somos, Apr 03 2007
STATUS
approved