MathDB
sum of its digits is divisible by 31

Source: Argentina 2007 OMA L3 p5

May 12, 2024
number theorysum of digits

Problem Statement

We will say that a positive integer is lucky [/i ]if the sum of its digits is divisible by 3131. What is the maximum possible difference between two consecutive lucky [/i ] numbers?