A certain man had in his trade four weights with which he could weigh integral pounds from one up to 40. How many pounds was each weight? (Fibonacci, Liber Abaci, 1202)