The Ancient Egyptian Rhind papyrus from around 1650 BCE contains the following problem: 'Divide 10 hekats of barley among 10 men so that the common difference between the amount each man receives is 8 of a hekat of barley.' (A hekat was an ancient Egyptian measurement of volume used for grain, bread and beer.) Find the smallest and the largest amounts received.