2018 AIME I Problem 6

Attempt Problem 6 of the 2018 AIME I below, then check your answer against the professionally curated solution from LIVE by Po-Shen Loh. You can also try the full timed exam, view all 2018 AIME I solutions, or check the answer key.

All problems are used with official legal permission of the Mathematical Association of America (MAA).

6.

Let NN be the number of complex numbers zz with the properties that ∣z∣=1|z| = 1 and z6!−z5!z^{6!} - z^{5!} is a real number. Find the remainder when NN is divided by 1000.1000.
Answer: 440
Concepts:complex numbertrigonometrycasework
Small hint:
Write z=eiθ;z = e^{i\theta}; the difference is real exactly when sin⁡720θ=sin⁡120θ\sin 720\theta = \sin 120\theta
Big hint:
Equal sines mean the angles are equal or supplementary modulo 2π;2\pi; count θ∈[0,2π)\theta \in [0, 2\pi) of each type and check the two families do not overlap
Solution:
Write z=eiθz = e^{i\theta} with θ∈[0,2π).\theta \in [0, 2\pi). Then z720−z120z^{720} - z^{120} is real exactly when sin⁡720θ=sin⁡120θ,\sin 720\theta = \sin 120\theta, which happens when the angles are equal or supplementary modulo 2π:2\pi: either 720θ=120θ+2πk,720\theta = 120\theta + 2\pi k, giving θ=πk300,\theta = \frac{\pi k}{300}, or 720θ=π−120θ+2πk,720\theta = \pi - 120\theta + 2\pi k, giving θ=(2k+1)π840.\theta = \frac{(2k+1)\pi}{840}.
The first family has 600600 values in [0,2π)[0, 2\pi) and the second has 840.840. They cannot coincide: πk300=(2j+1)π840\frac{\pi k}{300} = \frac{(2j+1)\pi}{840} would give 14k=5(2j+1),14k = 5(2j + 1), equating an even number with an odd one.
Hence N=600+840=1440,N = 600 + 840 = 1440, and the remainder is 440.440.
LIVE by Po-Shen Loh
Programs

LIVE Classes

Self-Paced Classes

Stars

Scholarship

About Us

Who Is Po-Shen Loh?

Email Contact

Newsletter

Jobs

Become a Star

For a more Thought Full world.

© 2026 Expii, Inc.