For a real number x, define a sequence by x0=x and xn+1=xn2−2 for n≥0. There are several real values of x for which x4=2 but x2=2. Find the sum of the squares of all such values of x.
Solution ApproachShowHide
Step-by-step approach
Use the substitution xn=2cosθn. Then xn+1=2cos(2θn). So x4=2cos(16θ)=2 means 16θ=2kπ, θ=kπ/8. Exclude those with x2=2: x2=2cos(4θ)=2 means 4θ=2mπ, θ=mπ/2. The valid values of θ are kπ/8 for k≡0(mod4). Sum x2=∑4cos2(kπ/8) over valid k in [0,2π).
Ready for more competition problems?
Practice the full SolveFire course and compete in ranked math battles — free to play.