Fermat's Last Theorem, which states that there are no three positive integers \(a\), \(b\), and \(c\) that satisfy the equation \(a^n + b^n = c^n\) for any integer value of \(n\) greater than 2, has inspired various works of fiction that explore themes of mathematics, obsession, and the human condition.