Let p be a prime and A={a1,…,ap−1} an arbitrary subset of the set of natural numbers such that none of its elements is divisible by p. Let us define a mapping f from P(A) (the set of all subsets of A) to the set P={0,1,…,p−1} in the following way:(i) if B={ai1,…,aik}⊂A and ∑j=1kaij≡n(modp), then f(B)=n,(ii) f(∅)=0, ∅ being the empty set.Prove that for each n∈P there exists B⊂A such that f(B)=n. modular arithmeticalgebrapolynomialnumber theoryDivisibilityIMO Shortlist