Step 1: Understanding the Concept
A photon is emitted only when the electron falls to a lower level, and \(f\propto\left(\dfrac{1}{n_f^{2}}-\dfrac{1}{n_i^{2}}\right)\).
Step 2: Eliminate
Options (A) and (B) go from a lower to a higher level, so they are absorptions.
Step 3: Compare emissions
\(5\to3\): \(\dfrac{1}{9}-\dfrac{1}{25}\approx0.071\).
\(2\to1\): \(1-\dfrac{1}{4}=0.75\), which is far larger.
Final Answer:
The transition from n = 2 to n = 1 emits the highest frequency.
\[ \boxed{\text{(D) }n=2\ \text{to}\ n=1} \]