\[\boxed{\mathbf{807\ (807).\ }Еуроки\ - \ ДЗ\ без\ мороки}\]
\[\frac{a_{1} + a_{2} + \ldots + a_{n}}{n} = \frac{S_{n}}{n} =\]
\[= \frac{2a_{1} + d(n - 1)}{2n} \cdot n =\]
\[= \frac{2a_{1} + dn - d}{2}\]
\[\frac{2a_{1} + dn - d}{2} = n\ \ \]
\[2a_{1} + dn - d = 2n\]
\[2a_{1} - 2n = d - dn\]
\[2 \cdot \left( a_{1} - n \right) = d(1 - n)\text{\ \ }\]
\[подбираем\ \ a_{1}\ и\ d;\ \ тогда:\]
\[a_{1} = 1;\ \ d = 2.\]
\[Ответ:\ a_{1} = 1;\ \ d = 2.\]