Question
Question: 3 numbers are randomly drawn from the set {1, 2, 3, ....., 300}. Find the probability that sum of th...
3 numbers are randomly drawn from the set {1, 2, 3, ....., 300}. Find the probability that sum of these 3 numbers is divisible by 3

\frac{14851}{44551}
Solution
To find the probability that the sum of three randomly drawn numbers from the set S={1,2,3,…,300} is divisible by 3, we first categorize the numbers based on their remainder when divided by 3.
Let N0 be the count of numbers in S that are divisible by 3. Let N1 be the count of numbers in S that leave a remainder of 1 when divided by 3. Let N2 be the count of numbers in S that leave a remainder of 2 when divided by 3.
The set S contains 300 numbers. Since 300 is perfectly divisible by 3, each remainder category will have an equal number of elements: N0={3,6,…,300}, so N0=3300=100. N1={1,4,…,298}, so N1=3298−1+1=3297+1=99+1=100. N2={2,5,…,299}, so N2=3299−2+1=3297+1=99+1=100. So, we have N0=N1=N2=100. Let k=100.
The total number of ways to choose 3 numbers from 300 is given by (3300).
Total outcomes=(3300)=3×2×1300×299×298=50×299×298=4455100For the sum of three numbers (x1+x2+x3) to be divisible by 3, the sum of their remainders when divided by 3 must be divisible by 3. Let r1,r2,r3 be the remainders of x1,x2,x3 respectively. We need r1+r2+r3≡0(mod3). The possible combinations of remainders are:
- All three numbers have remainder 0: (0,0,0). Number of ways = (3N0)=(3100).
- All three numbers have remainder 1: (1,1,1). (Sum of remainders = 3) Number of ways = (3N1)=(3100).
- All three numbers have remainder 2: (2,2,2). (Sum of remainders = 6) Number of ways = (3N2)=(3100).
- One number from each remainder category: (0,1,2). (Sum of remainders = 3) Number of ways = N0×N1×N2=100×100×100=1003.
Now, let's calculate the number of favorable outcomes:
(3100)=3×2×1100×99×98=100×33×49=161700 1003=1000000Total favorable outcomes = 3×(3100)+1003
=3×161700+1000000=485100+1000000=1485100The probability is the ratio of favorable outcomes to total outcomes:
P(sum is divisible by 3)=44551001485100We can simplify this fraction by dividing the numerator and denominator by 100:
P(sum is divisible by 3)=4455114851Alternatively, for the general case where N=3k and N0=N1=N2=k, the probability is given by:
P=(33k)3(3k)+k3=63k(3k−1)(3k−2)36k(k−1)(k−2)+k3Multiply numerator and denominator by 6:
P=k(3k−1)(3k−2)k(k−1)(k−2)+2k3=k(9k2−9k+2)k(k2−3k+2)+2k3 P=9k3−9k2+2kk3−3k2+2k+2k3=9k3−9k2+2k3k3−3k2+2kFactor out k from numerator and denominator:
P=k(9k2−9k+2)k(3k2−3k+2)=9k2−9k+23k2−3k+2Substitute k=100: Numerator = 3(100)2−3(100)+2=30000−300+2=29702. Denominator = 9(100)2−9(100)+2=90000−900+2=89102. So, P=8910229702. Dividing both by 2 gives 4455114851.
This fraction is in its simplest form because the greatest common divisor of 14851 and 44551 is 1. (Any common factor must divide 44551−3×14851=148. Since 14851 is odd and not divisible by 37, there are no common factors).
The final answer is 4455114851.
Explanation of the solution:
- Categorize the 300 numbers into three groups based on their remainder when divided by 3: N0 (remainder 0), N1 (remainder 1), N2 (remainder 2). Each group contains 100 numbers.
- Calculate the total number of ways to choose 3 numbers from 300 using combinations: (3300).
- Determine the conditions for the sum of three numbers to be divisible by 3:
- All three numbers from N0.
- All three numbers from N1.
- All three numbers from N2.
- One number from each group (N0,N1,N2).
- Calculate the number of ways for each condition and sum them to find the total favorable outcomes.
- Divide the total favorable outcomes by the total possible outcomes to get the probability.