MathDB
OMK 2015 Sulong, Section B Problem 2

Source: OMK 2015 Sulong, Section B Problem 3

June 21, 2021
SetsProofnumber theory

Problem Statement

A subset of {1,2,3,......,2015}\{1, 2, 3, ... ... , 2015\} is called good if the following condition is fulfilled: for any element xx of the subset, the sum of all the other elements in the subset has the same last digit as xx. For example, {10,20,30}\{10, 20, 30\} is a good subset since 1010 has the same last digit as 20+30=5020 + 30 = 50, 2020 has the same last digit as 10+30=4010 + 30 = 40, and 3030 has the same last digit as 10+20=3010 + 20 = 30. (a) Find an example of a good subset with 400 elements. (b) Prove that there is no good subset with 405 elements.