Divisibility tests for natural numbers in terms of digits. #
We prove some divisibility tests based on digits, in particular completing Theorem #85 from https://www.cs.ru.nl/~freek/100/.
Divisibility #
theorem Nat.eleven_dvd_of_palindrome {n : ℕ} (p : (digits 10 n).Palindrome) (h : Even (digits 10 n).length) :