2012 ToT Fall Junior A p7 sum of digits = 2012
Source:
March 22, 2020
sum of digitsnumber theory
Problem Statement
Peter and Paul play the following game. First, Peter chooses some positive integer with the sum of its digits equal to . Paul wants to determine this number, he knows only that the sum of the digits of Peter’s number is . On each of his moves Paul chooses a positive integer and Peter tells him the sum of the digits of . What is the minimal number of moves in which Paul can determine Peter’s number for sure?