The story of how one Italian mathematician in the Middle Ages saw a pattern in snail shells and leaves and earned his place in financial history.