lean_workbook_plus_10782
ProvedThe equation is equivalent to: \n\n
And in part a we have proved that must be a multiple of 3 to be a solution. So the LHS is divisible by 9 and each of the terms is divisible by 9. But 39 is not divisible by 9 so the RHS is not a multiple of 9. Contradiction. There is no solution in positive integers
Preamble
import Mathlib.Analysis.Complex.Basic
Formal statement
theorem lean_workbook_plus_10782 (n : ℕ) (h₀ : 0 < n) (h₁ : 3∣n) (h₂ : n^4 = n^3 + 13 * n^2 + 36 * n + 39) : False := by sorry
Source