IN THE first century A.d., a Chinese mathematician named Sun-Tsu devised the following apparently magical procedure for calculating someone’s age (Dickson 1952) :First he asked three questions, equivalent to asking for the remainders when the age was divided by three, by five, and by seven respectively; then, if the remainders are and Sun-Tsu calculated the age as