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.
Z(2*n) = Z(n)^4 -50* 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, [3, 31, 5283][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, Apr 17 2007
STATUS
approved