NumberthonNumberthon

SolveFire POTD

Bronze
algebra
6/09/2026
Problems sourced from solvefire.net
Problem
For a real number xx, define a sequence by x0=xx_0=x and xn+1=xn2−2x_{n+1}=x_n^2-2 for n≥0n\ge0. There are several real values of xx for which x4=2x_4=2 but x2≠2x_2\ne2. Find the sum of the squares of all such values of xx.
Solution ApproachShow

Step-by-step approach

Use the substitution xn=2cos⁡θnx_n=2\cos\theta_n. Then xn+1=2cos⁡(2θn)x_{n+1}=2\cos(2\theta_n). So x4=2cos⁡(16θ)=2x_4=2\cos(16\theta)=2 means 16θ=2kπ16\theta=2k\pi, θ=kπ/8\theta=k\pi/8. Exclude those with x2=2x_2=2: x2=2cos⁡(4θ)=2x_2=2\cos(4\theta)=2 means 4θ=2mπ4\theta=2m\pi, θ=mπ/2\theta=m\pi/2. The valid values of θ\theta are kπ/8k\pi/8 for k≢0(mod4)k\not\equiv0\pmod4. Sum x2=∑4cos⁡2(kπ/8)x^2=\sum 4\cos^2(k\pi/8) over valid kk in [0,2π)[0,2\pi).

Ready for more competition problems?

Practice the full SolveFire course and compete in ranked math battles — free to play.