Problem

Source: 2024 Portuguese MO Finals Day 1 P1

Tags: number theory



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