MathDB
multiple of 38 with min sum of digits

Source: 2022 Swedish Mathematical Competition p3

March 24, 2024
number theorysum of digits

Problem Statement

Let nn be a positive integer divisible by 3939. What is the smallest possible sum of digits that nn can have (in base 1010)?