reshown by
3,585 views
1 votes
1 votes
  1. How many seven digits number are there such that
    1. Digits are distinct integers taken from {1, 2, ..., 9} and
    2. Digits 5 and 6 do not appear together (consecutively)
reshown by

2 Answers

Best answer
5 votes
5 votes
Case 1: 5 and 6 appear together. Here, it can be 56 or 65. So, 2 ways and remaining we have 5 digits to chose from 7 and 6! ways (5 digits plus 56 or 65) to arrange them. This gives 2! * 7C5 * 6! = 42 * 720

Total possible numbers = 9 P 7 = 7! * 36

So, our required answer = 7! * 36 - 42 * 720 = 151,200
selected by
0 votes
0 votes
The numbers are {1, 2 , 3, 4, 5, 6, 7, 8, 9}
no of combination of 7 out of 9 no when 5,6 are consecutive :  
= 8C7*2!*7!
no of combination of 7 out of 9 no when 5,6 are not consecutive :
= 9C7*7! -  8C7*2!*7!
=8!*5/2
reshown by

Related questions

2 votes
2 votes
1 answer
1
0 votes
0 votes
1 answer
3
radha gogia asked Nov 11, 2015
1,355 views
Now I have 2 even positions and 2 odd positions and I have 3 even numbers 2 ,4 ,4 and 2 odd numbers so one odd position will be occupied by an even number but then even n...