Some arithmetic problems raised by rabbits, cows and the Da Vinci Code