MathDB
2024 Portuguese MO Finals Day 1 P1

Source: 2024 Portuguese MO Finals Day 1 P1

March 24, 2024
number theory

Problem Statement

A number is called cool if the sum of its digits is multiple of 1717 and the sum of digits of its successor is multiple of 1717. What is the smallest cool number?