81. Sheep Buyers. A farmer died, leaving a herd of cows to his two sons. The sons sold the herd, receiving as many dollars for each head as there were heads in the herd. With the money, the brothers bought sheep at 10 dollars each and one lamb, which cost less than 10 dollars. Then they divided the sheep and the lamb between themselves so that each brother received the same number of animals. How much should the brother who received only sheep pay to his brother to ensure that each heir receives an equal share?
81. Let $x$ be the number of cows in the herd, $y$ the number of sheep, and $z$ the cost of a lamb. Then $x^{2}=10 y+z$, where $y$ is an odd number, and $z<10$. But the second-to-last digit of a square is odd if and only if the last digit is $6^{*}$. Thus, $z=6$, and the luckier son should pay his brother 2 dollars.

[И. Kaplansky, A. M. M., 51, 166 (March 1944).]