Let z ( θ ) = 1967 + 1686 i sin θ 7 − 3 i cos θ , θ ∈ R . z(\theta)=\frac{1967+1686\,i\sin\theta}{\,7-3\,i\cos\theta\,},\qquad\theta\in\mathbb{R}. z ( θ ) = 7 − 3 i c o s θ 1967 + 1686 i s i n θ , θ ∈ R .
Write sin θ = s , cos θ = c \sin\theta=s,\;\cos\theta=c sin θ = s , cos θ = c with s 2 + c 2 = 1. s^{2}+c^{2}=1. s 2 + c 2 = 1. To separate the real and imaginary parts, multiply numerator and denominator by the complex conjugate of the denominator:
z = 1967 + 1686 i s 7 − 3 i c × 7 + 3 i c 7 + 3 i c = ( 1967 + 1686 i s ) ( 7 + 3 i c ) 7 2 + ( 3 c ) 2 . z=\frac{1967+1686\,i s}{7-3\,i c}\times\frac{7+3\,i c}{7+3\,i c}=\frac{(1967+1686\,i s)(7+3\,i c)}{7^{2}+(3c)^{2}}. z = 7 − 3 i c 1967 + 1686 i s × 7 + 3 i c 7 + 3 i c = 7 2 + ( 3 c ) 2 ( 1967 + 1686 i s ) ( 7 + 3 i c ) .
Denominator:7 2 + ( 3 c ) 2 = 49 + 9 c 2 . 7^{2}+(3c)^{2}=49+9c^{2}. 7 2 + ( 3 c ) 2 = 49 + 9 c 2 .
Numerator:( 1967 + 1686 i s ) ( 7 + 3 i c ) = 1967 × 7 + 1967 × 3 i c + 1686 i s × 7 + 1686 i s × 3 i c = 13769 + 5901 i c + 11802 i s − 5058 s c . \begin{aligned}
(1967+1686\,i s)(7+3\,i c)&=1967\!\times\!7+1967\!\times\!3\,i c+1686\,i s\!\times\!7+1686\,i s\!\times\!3\,i c\\
&=13769+5901\,i c+11802\,i s-5058\,s c.
\end{aligned} ( 1967 + 1686 i s ) ( 7 + 3 i c ) = 1967 × 7 + 1967 × 3 i c + 1686 i s × 7 + 1686 i s × 3 i c = 13769 + 5901 i c + 11802 i s − 5058 sc . $
Thusz = 13769 − 5058 s c + i ( 5901 c + 11802 s ) 49 + 9 c 2 . z=\frac{\,13769-5058\,s c+i(5901\,c+11802\,s)\,}{49+9c^{2}}. z = 49 + 9 c 2 13769 − 5058 sc + i ( 5901 c + 11802 s ) .
For z z z to be a real number, its imaginary part must vanish:
5901 c + 11802 s = 0 ⟹ c = − 2 s . 5901\,c+11802\,s=0\;\;\Longrightarrow\;\;c=-2s. 5901 c + 11802 s = 0 ⟹ c = − 2 s .
Using s 2 + c 2 = 1 s^{2}+c^{2}=1 s 2 + c 2 = 1 givess 2 + 4 s 2 = 5 s 2 = 1 ⟹ s = ± 1 5 , c = ∓ 2 5 . s^{2}+4s^{2}=5s^{2}=1\;\;\Longrightarrow\;\;s=\pm\frac1{\sqrt5},\;\;c=\mp\frac{2}{\sqrt5}. s 2 + 4 s 2 = 5 s 2 = 1 ⟹ s = ± 5 1 , c = ∓ 5 2 .
The product s c = ( ± 1 5 ) ( ∓ 2 5 ) = − 2 5 , s c=\left(\pm\frac1{\sqrt5}\right)\!\left(\mp\frac{2}{\sqrt5}\right)=-\frac{2}{5}, sc = ( ± 5 1 ) ( ∓ 5 2 ) = − 5 2 , independent of the sign choice.
Compute denominator:49 + 9 c 2 = 49 + 9 ( 4 5 ) = 49 + 36 5 = 281 5 . 49+9c^{2}=49+9\left(\frac{4}{5}\right)=49+\frac{36}{5}=\frac{281}{5}. 49 + 9 c 2 = 49 + 9 ( 5 4 ) = 49 + 5 36 = 5 281 .
Compute the real part of the numerator:
13769 − 5058 s c = 13769 − 5058 ( − 2 5 ) = 13769 + 10116 5 = 68845 + 10116 5 = 78961 5 . \begin{aligned}
13769-5058\,s c&=13769-5058\!\left(-\frac{2}{5}\right)\\
&=13769+\frac{10116}{5}=\frac{68845+10116}{5}=\frac{78961}{5}.
\end{aligned} 13769 − 5058 sc = 13769 − 5058 ( − 5 2 ) = 13769 + 5 10116 = 5 68845 + 10116 = 5 78961 . $
Thereforez = 78961 5 281 5 = 78961 281 . z=\frac{\dfrac{78961}{5}}{\dfrac{281}{5}}=\frac{78961}{281}. z = 5 281 5 78961 = 281 78961 .
Since 281 2 = 78961 , 281^{2}=78961, 28 1 2 = 78961 , we get z=281.$</p>
<p>This is the only positive integer value attained, so n=281.$$
Answer: 281