Math in literature

I’ve been reading some classic literature lately and was interested to see mathematics show up two of these works. Last week I read Voltaire’s Candide (1759). One of the main characters is the ridiculous Dr. Pangloss, who subscribes to Leibniz’s philosophy of optimism (or Voltaire’s take on optimism). Leibniz believed in a good and omnipotent…