Problem 829: (1987 AIME, 14)
Compute \[ \frac{(10^4+324)(22^4+324)(34^4+324)(46^4+324)(58^4+324)}{(4^4+324)(16^4+324)(28^4+324)(40^4+324)(52^4+324)}. \]
- $x^4+324=(x^2-6x+18)(x^2+6x+18)=\bigl((x-3)^2+9\bigr)\bigl((x+3)^2+9\bigr)$.
- So each factor is a product $(u^2+9)(v^2+9)$ with $u,v=x\mp3$. The numerator uses $u=7,13,\dots,61$ and the denominator $u=1,7,\dots,55$.
- Everything cancels except $\frac{61^2+9}{1^2+9}=\frac{3730}{10}=373$. The answer is $\boxed{373}$.
Compute \[ \frac{(12^4+1024)(28^4+1024)(44^4+1024)(60^4+1024)}{(4^4+1024)(20^4+1024)(36^4+1024)(52^4+1024)}. \]