IMO 1981 Q3 #
Determine the maximum value of m ^ 2 + n ^ 2, where m and n are integers in
{1, 2, ..., 1981} and (n ^ 2 - m * n - m ^ 2) ^ 2 = 1.
The trick to this problem is that m and n have to be consecutive Fibonacci numbers,
because you can reduce any solution to a smaller one using the Fibonacci recurrence.
theorem Imo1981Q3.ProblemPredicate.reduction {N : ℕ} {m n : ℤ} (h1 : ProblemPredicate N m n) (h2 : 1 < n) :
ProblemPredicate N (n - m) m
Equations
- Imo1981Q3.NatPredicate N m n = Imo1981Q3.ProblemPredicate N ↑m ↑n
Instances For
theorem Imo1981Q3.NatPredicate.reduction {N m n : ℕ} (h1 : NatPredicate N m n) (h2 : 1 < n) :
NatPredicate N (n - m) m