Probability of Divisibility

Two distinct integers are selected at random from 1, 2, 3, ... , 100 and multiplied with each other. Find the probability (to two decimal places) that the product is divisible by 3.


The answer is 0.55.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

11 solutions

Ben Merrett
Nov 17, 2014

It's easier to consider the probability that it won't be divisible by three, in which case neither of the numbers chosen can be divisible by three. There are 33 33 multiples of 3 3 between 1 1 and 100 100 ( 33 × 3 = 99 33\times 3=99 ) and therefore 67 67 numbers that aren't. The probability of both coming from this group is therefore 0.6 7 2 = 0.4489 0.67^{2}=0.4489 . We subtract this from 1 1 to get our answer of 0.5511 0.5511 , as we are looking for the probability that neither comes from the group.

To be more precise: Since we're talking about two distinct numbers, it shouldn't be 0.67^2 . It should be 0.67*0.66 . That will lead to a final answer of 0.5578 (rounded to 0.56). I entered 0.56 and got "Correct Answer". So we're both winners :)

Mohammad Al-Sari - 6 years, 5 months ago

Log in to reply

To be even more precise: It should not be .67 * .66 . It should actually be .67 * .6666... . The original answer was closer. What happens here is that the first number has a chance of 67/100 of not being a multiple of 3. Then, since one non-multiple of 3 is taken, there are 66 non-multiples of 3 left because the original problem says distinct numbers. So then it would be 66/99 probability, leading to 2/3, meaning .666666.... Hopefully that clarifies it.

Suhas K - 5 years, 7 months ago

Log in to reply

Thanks for being more accurate. I realize it now :)

Mohammad Al-Sari - 5 years, 5 months ago

In fact, the question should ask for 1000 P \lfloor 1000P \rfloor since both answers round off to . 55 .55 .

Jake Lai - 6 years, 6 months ago

Log in to reply

It's now much clearer: "Two distinct integers are selected..." So no need fortunately. The answer should be ambiguous.

Ben Merrett - 6 years, 6 months ago

I was confused whether we should count numbers multiple times. For example, 1x10 = 2x5 = 10, so should we consider 10 just one or twice in the denominator?

Saurabh Chaturvedi - 5 years, 1 month ago

Did exactly the same! :D

Kritika Kamra - 4 years, 7 months ago

I went with a different method. Number of possible combination is 100 99 for a number to be divisible by 3 at least one of its components should be divisible by 3. options for first number-33 99. For second number-67 33. (67 33+99 33)/(100 99)=(166 33)/(100 99)=166/300=0.553

Shay Pecker - 4 years, 3 months ago
Anatoliy Razin
Nov 17, 2014

Split all pairs ( a , b ) , 1 a < b 100 (a,b), 1 \leq a < b \leq 100 into four groups (both divided by 3, first, second, none)

the number of pairs in the group with both numbers divided by 3 is ( 33 × 32 ) / 2 = 528 (33 \times 32) / 2 = 528

the number of pairs with only one element divided is 33 × 67 33 \times 67 (which is half of that number twice) or 2211 2211

therefore the probability is ( 2211 + 528 ) / ( ( 100 × 99 ) / 2 ) (2211 + 528) / ((100 \times 99) / 2) - to the second decimal is 0.55 \boxed{0.55}

interesting point: in case we select one number out of 100 100 and then select one number out of 100 100 again, the answer to two decimal places will be the same though probability is different

Did the same

Deep Vora - 1 year, 8 months ago

Did the same! Nice!

Kartik Sharma - 6 years, 6 months ago
Joshua Lowrance
Apr 18, 2018

First find the probability that it isn't divisible by 3. There are 67 numbers from 1 to 100 that are not divisible by 3, so the probability of choosing a number not divisible by 3 is 67/100. Then, the probability of choosing another number not divisible by 3 is 66/99, or 2/3. So the probability of the product not being divisible by 3 is 67 100 \frac{67}{100} x 2 3 \frac{2}{3} or 67 150 \frac{67}{150} , which is approximately .45. Finally, the probability of the product being divisible by 3 is 1 - .45 = .55

Danilo Borovnica
Jun 10, 2016

Eleni Kontou
Apr 21, 2016

The possible pairs from 100 numbers are ( 100 2 ) = 99 × 50 \left(\begin{array}{c} 100\\2 \end{array} \right)=99 \times 50 . The numbers divided by 3 are 33 so those that are not are 67. The possible pairs between these 67 numbers are ( 67 2 ) = 33 × 67 \left(\begin{array}{c} 67\\2 \end{array} \right)=33 \times 67 . So the probability to get one of the pairs that are divided by 3 is 1 33 × 67 99 × 50 = 1 67 150 = 0.553... 1-\frac{33\times 67}{99\times 50}=1-\frac{67}{150}=0.553...

Anirban Sur
Jan 1, 2015

I think it's : (33C1x 99C1 - 33C2)/ 100C2 = 0.553333333333

Moderator note:

This solution is incorrect, and so is the answer. It does not properly account for forcing order into a scenario where order doesn't matter. You cannot assume that the first number which you pick is a multiple of 3, though one of these numbers is.

Marina Longnickel
Oct 22, 2017

Aneesa Saleh
May 24, 2017

For the product to be divisible by three, there are three possibilities: (1) both are divisibly by 3 3 (2) first is divisibly by 3 3 , second isn't (3) first is not divisible by 3 3 , second is. The probability of getting a product divisibly by three is the sum of these three probabilities: (1) OR (2) OR (3) i.e (1) + (2) + (3). There are 33 33 numbers from 1 1 to 100 100 divisible by 3 3 . Taking the cases one at a time:

(1) first number divisible by 3 3 AND second number divisible by 3 3 : 33 100 \frac{33}{100} x 32 99 \frac{32}{99} = 1056 9900 \frac{1056}{9900} Note that in the second case we use 32 32 because one number has been picked from the set of 3-divisible numbers, and we use 99 99 because one number has been picked from the 100 100 numbers we are considering.

(2) first is divisibly by 3 3 AND second isn't divisible by 3 3 : 33 100 \frac{33}{100} x 99 32 99 \frac{99-32}{99} = 2211 9900 \frac{2211}{9900} Note that in the second case we use 99 32 99 - 32 since we are considering the numbers not divisible by 3 3 .

(3) first is not divisibly by 3 3 AND second is divisible by 3 3 : 100 33 100 \frac{100-33}{100} x 33 99 \frac{33}{99} = 2211 9900 \frac{2211}{9900} Next, we add all the probabilities: P = 1056 9900 \frac{1056}{9900} + 2211 9900 \frac{2211}{9900} + 2211 9900 \frac{2211}{9900} = 5748 9900 \frac{5748}{9900} = 0.55333... 0.55333 ... = 0.55 0.55

Andrea Virgillito
Feb 11, 2017

Total cases=100x99=9900

The product is divisible by three if almost one of the two numbers contains a factor 3. There are 33 multiples of 3 in the set mentioned so the number of favorable cases is (33x76)x2+33x32

5478 9900 \frac{5478}{9900} =0.5533333..

Ryan L.
Sep 20, 2016

For our product to be divisible by three we need at least one of our integers to be a multiple of three.

Thus, simply divide the number of ways of selecting at least one three by the total number of ways you can select 2 2 distinct integers:

( 100 2 ) ( 67 2 ) ( 100 2 ) . 55 \frac{{100\choose2}-{67\choose2}}{100\choose2}\approx.55

Anthony Hong
Dec 5, 2015

Look for all numbers that are multiples of 3 from 1 to 100, there are 33 numbers like that. Therefore, there are 100-33=67 numbers that are not multiples of 3. Look for number of distinct products from 1 to 100: 4950. Since a number that is a multiple of three must satisfy that at least one of its factors is a multiple of 3, thus there are 67 times 33+32 times 33/2=2739 products that they're multiples of 3. Hence the probability is 2739/4950. 2739/4950 to two decimal places is 0.55

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...