Problem

Source: BdMO 2022 Secondary P8

Tags: number theory



Solve the following problems - A) Find any $158$ consecutive integers such that the sum of digits for any of the numbers is not divisible by $17.$ B) Prove that, among any $159$ consecutive integers there will always be at least one integer whose sum of digits is divisible by $17.$