Example 3 (1990 Japan First Round Selection Contest) Let $a_{n}=50+n^{2}, n=1,2, \cdots$ Find the maximum value of the greatest common divisor $d_{n}=\left(a_{n}, a_{n+1}\right)$ of $a_{n}$ and $a_{n+1}$.