Suppose 7 students are staying in a hall in a hostel and they are allotted 7 beds. Among them, Parvin does not want a bed next to Anju because Anju snores. Then, in how many ways can you allot the beds?  Choose the correct choice from the following choices
A) 2399 B) 2887 C) 3600 D) 2882 E) 2791
Explanation:   Let the beds be numbered 1 to 7.Case 1 : Suppose Anju is allotted bed number 1.   Then, Parvin cannot be allotted bed number 2.   So Parvin can be allotted a bed in 5 ways.   After alloting a bed to Parvin, the remaining 5 students can be allotted beds in 5! ways.   So, in this case the beds can be allotted in 5´5!ways = 600 ways.   Case 2 : Anju is allotted bed number 7.   Then, Parvin cannot be allotted bed number 6   As in Case 1, the beds can be allotted in 600 ways.   Case 3 : Anju is allotted one of the beds numbered 2,3,4,5 or 6.   Parvin cannot be allotted the beds on the right hand side and left hand side of Anju’s bed. For example, if Anju is allotted bed number 2, beds numbered 1 or 3 cannot be allotted to Parvin.   Therefore, Parvin can be allotted a bed in 4 ways in all these cases.   After allotting a bed to Parvin, the other 5 can be allotted a bed in 5! ways.   Therefore, in each of these cases, the beds can be allotted in 4´ 5! = 480 ways.   The beds can be allotted in (2x 600 + 5 x 480)ways = (1200 + 2400)= 
<gadget id="calculator">(1200 + 2400)</gadget>
<output>3_600</output>
3600 ways   Answer: 3600) 3600
<result>C</result>
Suppose 7 students are staying in a hall in a hostel and they are allotted 7 beds. Among them, Parvin does not want a bed next to Anju because Anju snores. Then, in how many ways can you allot the beds?