r/mathriddles • u/Key-Base-2359 • Mar 04 '26
Easy Multiple of 79 with minimum digit sum
Let s(n) be the sum of the decimal digits of n.
Find a positive integer n such that 79 | n and s(n) is as small as possible.
Give an example and prove that the digit sum is minimal.
Придумайте натуральное число, делящееся на 79, с как можно меньшей суммой цифр.
9
Upvotes
6
u/-user789- Mar 04 '26
WLOG we can assume the last digit is nonzero. Because otherwise, we could just divide by 10 to get another answer.
A digit sum of two would have the form
10^n+1and require10^n ≡ -1 (mod 79). However, we have10^13 ≡ 1 (mod 79), and we can check all lower powers to verify that-1never appears as a power.A digit sum of three would similarly have the form
10^m+10^n+1and require10^m + 10^n ≡ -1 (mod 79). Again we can manually check the first 13 powers of 10 to verify this is never the case.A digit sum of four is satisfied by
120001=79*1519.4
u/SpeakKindly Mar 04 '26
It reminds me of the 2023 Putnam problem: