Napoleon excelled at mathematics. ‘To be a good general you must know mathematics,’ he later observed, ‘it serves to direct your thinking in a thousand circumstances.’ He was helped by his prodigious memory. ‘A singular thing about me is my memory,’ he once boasted. ‘As a boy I knew the logarithms of thirty or forty numbers.’ Napoleon was given...