JEE Probability 1

Two positive integers x x and y y are chosen at random from the first 100 positive integers with replacement. The probability that x y xy is divisible by 6 is η \eta .

Calculate 1000 η \lfloor 1000\eta\rfloor .


Bonus: You might like to calculate the probability without replacement for fun.


The answer is 410.

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.

5 solutions

Mvs Saketh
Feb 26, 2015

case-1

x or y divisible by 6,

Possibilities =

100 6 ( 100 ) + 100 6 ( 100 ) 100 6 2 = 2944 \left\lfloor \frac { 100 }{ 6 } \right\rfloor (100)\quad +\quad \left\lfloor \frac { 100 }{ 6 } \right\rfloor (100)\quad -\quad { \quad \left\lfloor \frac { 100 }{ 6 } \right\rfloor }^{ 2 }\quad =\quad 2944

(using inclusion exclusion principle)

case -2

x divisible by 2 but not by 6 and y divisible by 3 but not by 6 and vice versa

2 ( 100 2 100 6 ) ( 100 3 100 6 ) = 1156 2(\left\lfloor \frac { 100 }{ 2 } \right\rfloor -\left\lfloor \frac { 100 }{ 6 } \right\rfloor )(\left\lfloor \frac { 100 }{ 3 } \right\rfloor -\left\lfloor \frac { 100 }{ 6 } \right\rfloor )=1156

( it is not possible for something to be divisible by 2 and 3 simultaneously unless it is also divisible by 6, so we dont need to worry about any overlaps)

total = 4100

and total number of ways = 100*100 = 10000

so probability is 0.41

hence 1000 times it is 410 (answer)

Thanks for posting it as another solution

Pranjal Jain - 6 years, 3 months ago

Please why did u multiply the 1st 2 terms in the 3rd line by 100?

Nwankpa Richard - 3 years, 7 months ago

Log in to reply

x must be a multiple of 6 whereas y can be any number from 1 to 100 as product of them can be divided by 6

S.V Jaya Chand - 6 months, 1 week ago
Pranjal Jain
Feb 9, 2015

Let x = 6 k 1 + r 1 x=6k_1+r_1 and y = 6 k 2 + r 2 y=6k_2+r_2 where k 1 , k 2 k_1,k_2 are non-negative integers and r 1 , r 2 { 0 , 1 , 2 , 3 , 4 , 5 } r_1,r_2\in \{0,1,2,3,4,5\} .

\bullet Case 1: r 1 = 0 , r_1=0, In this case, r 2 r_2 can be {0,1,2,3,4,5} . Number of such values of x = 16 x=16 and number of such values of y = 100 y=100 . * 1600 favourable pairs! *

\bullet Case 2: r 1 = 1 , r_1=1, In this case, r 2 r_2 can be {0} . Number of such values of x = 17 x=17 and number of such values of y = 16 y=16 . 272 favourable pairs!

\bullet Case 3: r 1 = 2 , r_1=2, In this case, r 2 r_2 can be {0,3} . Number of such values of x = 17 x=17 and number of such values of y = 33 y=33 . 561 favourable pairs!

\bullet Case 4: r 1 = 3 , r_1=3, In this case, r 2 r_2 can be {0,2,4} . Number of such values of x = 17 x=17 and number of such values of y = 50 y=50 . 850 favourable pairs!

\bullet Case 5: r 1 = 4 , r_1=4, In this case, r 2 r_2 can be {0,3} . Number of such values of x = 17 x=17 and number of such values of y = 33 y=33 . 561 favourable pairs!

\bullet Case 6: r 1 = 5 , r_1=5, In this case, r 2 r_2 can be {0} . Number of such values of x = 16 x=16 and number of such values of y = 16 y=16 . 256 favourable pairs!

Total favourable cases = 1600 + 272 + 561 + 850 + 561 + 256 = 4100 =1600+272+561+850+561+256=4100

Probability = 4100 100 × 100 = 0.41 =\dfrac{4100}{100\times 100}=0.41

η = 1000 × 0.41 = 410 \eta =\lfloor 1000\times 0.41\rfloor=\boxed{410}

My approach was more like Pratik's, (although I made a silly calculation error and didn't get the right answer. :( ) We first divide the first 100 100 natural numbers into four groups:

(i) 33 33 numbers that are divisible by neither 2 2 nor 3 3 ,

(ii) 34 34 divisible by 2 2 and not 3 3 ,

(iii) 17 17 divisible by 3 3 and not 2 2 , and

(iv) 16 16 divisible by both 2 2 and 3 3 , i.e., by 6. 6.

Choosing x x and then y y , we will have x y xy divisible by 6 6 in the following sequences: (iv) then any number; (i),(ii) or (iii) followed by (iv); (ii) then (iii); (iii) then (ii). This yields a probability of

( 16 ) ( 100 ) + ( 84 ) ( 16 ) + ( 34 ) ( 17 ) + ( 17 ) ( 34 ) ( 100 ) ( 100 ) = 4100 10000 . \dfrac{(16)(100) + (84)(16) + (34)(17) + (17)(34)}{(100)(100)} = \dfrac{4100}{10000}.

Brian Charlesworth - 6 years, 3 months ago

Log in to reply

Use calculator! =P

Can you suggest a good resource for functional equations?

Pranjal Jain - 6 years, 3 months ago

Log in to reply

Haha. Yeah, well ..... My mistake was that I originally had 34 34 values in category (i) and 16 16 in (iii), so no matter what approach I took after that I kept getting an incorrect value. :( As for functional equations, I don't have any thoughts beyond what you can find with a quick search on the web. I suppose something like this is as good as anything.

Brian Charlesworth - 6 years, 3 months ago

Hi, may I ask why you can't choose (iv) followed by (iv)? Could you not choose, for example 24, then 96? I'm really confused. :P

Lee Cho - 5 years, 10 months ago

Log in to reply

Yes, that is an option, and it is covered by "(iv) then any number". If I had then written "(i), (ii), (iii) or (iv) followed by (iv)" as the next option I would have double-counted the (iv) followed by (iv) cases, which is why I just had "(i), (ii) or (iii) followed by (iv)" as the second option.

Brian Charlesworth - 5 years, 10 months ago

Log in to reply

@Brian Charlesworth Oh! I realize my mistake now! Thank you!

Lee Cho - 5 years, 10 months ago

Nice solution! Did it the same way.

Vinayak Verma - 5 years, 7 months ago

We could also get away with making the following 5 5 cases -

1) x 3 , x 2 x \mid 3, \ x\nmid 2 and y 2 , y 3 y \mid 2, \ y \nmid 3

2) x 2 , x 3 x \mid 2, \ x \nmid 3 and y 3 , y 2 y \mid 3, \ y \nmid 2

3) x 6 x \mid 6 and y 6 y \nmid 6

4) x 6 x \nmid 6 and y 6 y \mid 6

5) x 6 x \mid 6 and y 6 y \mid 6

Pratik Shastri - 6 years, 3 months ago
Yugesh Kothari
Nov 26, 2015

I'm not sure if someone covered it this way but one very easy way to look at it is this - If I choose just one multiple of 2 2 and one multiple of 3 3 (without worrying whether it is a multiple of 6 6 or not) I will end up covering almost all cases apart from the ones where one is a multiple of 6 6 and the other isn't a multiple of 2 2 and 3 3 .

Going by that, we get ( 50 × 33 ) × 2 (50\times 33)\times 2 (where × 2 \times 2\ is for arrangement) as the first case, but the important thing to note here is that some cases will duplicate, namely the ones where both are multiples of 6 6 . So in totality, the first case becomes ( 50 × 33 ) × 2 256 (50\times 33)\times 2 -256 .

The next case is pretty straightforward - ( 16 × 33 ) × 2 (16\times 33)\times 2 .

This brings the total to 4100 4100 . The rest is simple.

Moderator note:

Great! That is another way to do the counting.

could you help me out plss how 256 is calculated....

Dark Lord - 3 years, 5 months ago

Log in to reply

There are 16 multiples of 6 between 1 and 100, so 256 = 16 x 16

Sophie Ho - 3 years, 1 month ago

Good work.

D K - 2 years, 10 months ago

The numbers can be classified as

Let ξ = gcd ( x , 6 ) \xi = \text{gcd}(x, 6) and η = gcd ( y , 6 ) \eta = \text{gcd}(y, 6) . The distribution of ξ \xi is as follows: f ( ξ = 6 ) = 16 ; f ( ξ = 3 ) = 17 ; f ( ξ = 2 ) = 34 ; f ( ξ = 1 ) = 33 , f(\xi = 6) = 16;\ \ f(\xi = 3) = 17;\ \ f(\xi = 2) = 34;\ \ f(\xi = 1) = 33, and similar for η \eta .

Now 6 x y 6 | xy iff 6 ξ η 6 | \xi\eta . Its distribution is as follows:

ξ = 6 ξ = 3 ξ = 2 ξ = 1 η = 6 Y Y Y Y η = 3 Y N Y N η = 2 Y Y N N η = 1 Y N N N \begin{array}{r|cccc} & \xi = 6 & \xi = 3 & \xi = 2 & \xi = 1 \\ \hline \eta = 6 & Y & Y & Y & Y \\ \eta = 3 & Y & N & Y & N \\ \eta = 2 & Y & Y & N & N \\ \eta = 1 & Y & N & N & N \end{array}

We must add the frequencies for all "Y" entries in the table. This is 2 100 16 1 6 2 + 2 17 34 = 4100. 2\cdot 100\cdot 16 - 16^2 + 2\cdot 17\cdot 34 = 4100. Therefore the desired probability is 0.410 0.410 and we submit 410 \boxed{410} for an answer.

Parth Bhagat
Feb 4, 2015

{x y total} indicates no of values of x ,y and total possible outcomes xy. {16 100 1600 } ( x being multiple of 6 and y any from 1 to 100) {84 16 1344 }(y being multiple of 6 and x be any from 1 to 100 except multiples of 16) {34 17 578} (x being multiples of 2 which are not multiples of 6 and y being multiple of 3 which are not multiples of 2) {17 34 578}(interchanging x and y in above ) total 4100 probability :- 4100/10000 1000 *probability =410

It seems correct but is there a typo? Question was 6 \color{#20A900}{6} and not 16 \color{#D61F06}{16}

Pranjal Jain - 6 years, 4 months ago

Log in to reply

yeah done i was obsessed with 1 6 multiples of 6 so they got mixed

Parth Bhagat - 6 years, 4 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...