\[\boxed{\text{1031\ (1031).}\text{\ }\text{Еуроки\ -\ ДЗ\ без\ мороки}}\]
\[Запишем\ числа\ a = 5m + n,\ b =\]
\[= 5n + 3\]
\[a^{2} + b^{2} =\]
\[= (5m + 4)^{2} + (5n + 3)^{2} =\]
\[= 25m^{2} + 40m + 25n^{2} + 30n + 25 =\]
\[= 5 \cdot \left( 5m^{2} + 8m + 5n^{2} + 6n + 5 \right) -\]
\[кратно\ 5.\ \]