A 9-digit integer is formed using the digits 1, 2, ... , 9 without repetition. Find the probability that the number is divisible by 4.
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.
NIcely Done! Keep it up..
Firstly we find the number of way to form e v e n number using 1 , 2 , 3 , . . . . . . . . , 9 without repetition : To form even number last digit must be 2 , 4 , 6 o r 8 . That mean there are 4 choices. So number of way to form even number is 4 × 8 ! . Therefor the number of way to form numbers divisible by 4 is ,
2 1 × n u m b e r o f e v e n n u m b e r s = 2 × 8 !
So the required probability is , 9 ! 2 × 8 ! = 9 2
Python:
1 2 3 4 5 6 7 8 9 10 11 12 |
|
You're awesome man !
Problem Loading...
Note Loading...
Set Loading...
Let the nine digit number be
a 1 a 2 a 3 a 4 a 5 a 6 a 7 a 8 a 9
The total number of numbers that can be formed = 9 ! = 3 6 2 8 8 0
For a number to be divisible by 4 , the last two digits need to be divisible by 4
Thus the last two digits, a 8 a 9 can have the following arrangements-
1 2 , 1 6 , 2 4 , 2 8 , 3 2 , 3 6 , 4 8 , 5 2 , 5 6 , 6 4 , 6 8 , 7 2 , 7 6 , 8 4 , 9 2 , 9 6 = 1 6
We cannot have 0 4 , 0 8 , 2 0 , 4 0 , 6 0 , 8 0 since we do not have 0
We cannot have 4 4 , 8 8 since repetition is not allowed.
After choosing a 8 a 9 , we have seven spaces left which can be arranged in 7 ! ways which can be taken 1 6 times hence
7 ! × 1 6 = 8 0 6 4 0
Thus the Probability is 3 6 2 8 8 0 8 0 6 4 0 = 9 2