The Man Who Counted
 First published in Brazil in 1949, O Homem que Calculava is a series of tales in the style of the Arabian Nights, but revolving around mathematical puzzles and curiosities. The book is ostensibly a translation by Brazilian scholar Breno de Alencar Bianco of an original manuscript by Malba Tahan, a thirteenth century Persian scholar of the Islamic Empire – both equally fictitious. The first two chapters tell how Malba Tahan was traveling from Samarra to Baghdad when he met Beremiz Samir, a young lad with amazing mathematical abilities. The traveler then invited Beremiz to come with him to Baghdad, where a man with his abilities will certainly find profitable employment. The rest of the book tells various incidents that befell the two men along the road and in Baghdad. In all those events, Beremiz Samir uses his abilities with calculation like a magic wand to amaze and entertain people, settle disputes, and find wise and just solutions to seemingly unsolvable problems. In the first incident along their trip (chapter III), Beremiz settles a heated inheritance dispute between three brothers. Their father had left them 35 camels, of which 1/2 (17.5 camels) should go to his eldest son, 1/3 (11.666... camels) to the middle one, and 1/9 (3.888... camels) to the youngest. To solve brother's dilemma, Beremiz convinces Malba to donate his only camel to the dead man's estate. Then, with 36 camels, Beremiz gives 18, 12, and 4 animals to the three heirs, making all of them profit with the new share. Of the remaining two camels, one is returned to Malba, and the other is claimed by Beremiz as his reward. The translator's notes observe that a variant of this problem, with 17 camels to be divided in the same proportions, is found in hundreds of recreational mathematics books, such as those of E. Fourrey (1949) and G. Boucheny (1939). However, the 17-camel version leaves only one camel at the end, with no net profit for the estate's executor. At the end of the book, Beremiz uses his abilities to win the hand of his student and secret love Telassim, the daughter of one of the Caliph's advisers. (The caliph mentioned is Al-Musta'sim, and the time period ends with the Abbasid dynasty's collapse.) In the last chapter we learn that Malba Tahan and Beremiz eventually moved to Constantinople, and there they lived long and pleasant lives.