Skip to main content

2019 AIME II Problem 10

Problem 10 of 15IntermediateGeometryNumber Theory

There is a unique angle θ\theta between 0∘0^\circ and 90∘90^\circ such that for nonnegative integers n,n, the value of tan⁡(2nθ)\tan(2^n\theta) is positive when nn is a multiple of 3,3, and negative otherwise. The degree measure of θ\theta is pq,\frac{p}{q}, where pp and qq are relatively prime positive integers. Find p+q.p + q.

Your answer

Integer from 0 to 999
Show solution

Solution

Since tan⁡\tan has period 180∘,180^\circ, only 2nθ mod 180∘2^n\theta \bmod 180^\circ matters: the tangent is positive on (0∘,90∘)(0^\circ, 90^\circ) and negative on (90∘,180∘).(90^\circ, 180^\circ). Suppose θ\theta satisfies the condition, and let θ′\theta' be the reduction of 8θ8\theta modulo 180∘;180^\circ; since tan⁡(8θ)>0,\tan(8\theta) \gt 0, we have θ′∈(0∘,90∘).\theta' \in (0^\circ, 90^\circ). For every n,n, 2nθ′≡2n+3θ(mod180∘),2^n\theta' \equiv 2^{n+3}\theta \pmod{180^\circ}, and the sign pattern for the exponents n+3n + 3 is the same as for n,n, so θ′\theta' also satisfies the condition. By uniqueness, θ′=θ,\theta' = \theta, so 7θ≡0(mod180∘)7\theta \equiv 0 \pmod{180^\circ} and θ=180k7\theta = \frac{180k}{7} degrees for some k∈{1,2,3}.k \in \{1, 2, 3\}. Test each: for k=1,k = 1, 2θ=360∘7≈51.4∘2\theta = \frac{360^\circ}{7} \approx 51.4^\circ has positive tangent — fails. For k=2,k = 2, 4θ=1440∘7≡180∘7≈25.7∘4\theta = \frac{1440^\circ}{7} \equiv \frac{180^\circ}{7} \approx 25.7^\circ has positive tangent — fails. For k=3,k = 3, θ=540∘7≈77.1∘:\theta = \frac{540^\circ}{7} \approx 77.1^\circ: then 2θ≈154.3∘2\theta \approx 154.3^\circ and 4θ≡128.6∘4\theta \equiv 128.6^\circ are both in (90∘,180∘),(90^\circ, 180^\circ), and 8θ≡θ,8\theta \equiv \theta, so the pattern positive, negative, negative repeats forever. Thus θ=5407\theta = \frac{540}{7} degrees, and p+q=540+7=547.p + q = 540 + 7 = 547.
AoPS wiki

Tagged: trigonometry · modular arithmetic

More practice