Mathlib v3 is deprecated. Go to Mathlib v4

Commit 2020-10-13 02:01 b231d8e7

View on Github →

feat(archive/imo): formalize IMO 1960 problem 1 (#4366) The problem: Determine all three-digit numbers $N$ having the property that $N$ is divisible by 11, and $\dfrac{N}{11}$ is equal to the sum of the squares of the digits of $N$. Art of Problem Solving offers three solutions to this problem - https://artofproblemsolving.com/wiki/index.php/1960_IMO_Problems/Problem_1 - but they all involve a fairly large amount of bashing through cases and solving basic algebra. This proof is also essentially bashing through cases, using the iterate tactic and calls to norm_num.

Estimated changes

added theorem ge_100
added theorem imo1960_q1
added theorem left_direction
added theorem lt_1000
added theorem not_zero
added theorem right_direction
added def search_up_to
added theorem search_up_to_end
added theorem search_up_to_start
added theorem search_up_to_step
added def sum_of_squares