Menu Close

Prove-that-if-two-numbers-are-chosen-at-random-then-the-probability-that-their-sum-is-divisible-by-n-is-1-n-




Question Number 785 by rishabh last updated on 12/Mar/15
Prove that if two numbers are chosen  at random then the probability that  their sum is divisible by n is (1/n).
Provethatiftwonumbersarechosenatrandomthentheprobabilitythattheirsumisdivisiblebynis1n.
Answered by prakash jain last updated on 12/Mar/15
Sum mod n=k, where 0≤k≤n−1.  All n values for k  are equally likely.  hence probability=(1/n)  Note: It does not matter how many number  you chose at random. It is same as choosing  a sum at random.
Summodn=k,where0kn1.Allnvaluesforkareequallylikely.henceprobability=1nNote:Itdoesnotmatterhowmanynumberyouchoseatrandom.Itissameaschoosingasumatrandom.

Leave a Reply

Your email address will not be published. Required fields are marked *