Sunday, November 2, 2008

Q) Find the number of 5-digit numbers of the form xyzyx in which x is less than y.

A) Number of ways of selecting x and y: 9C2 . 2!

Out of these, 1/2 will be such that x than y, and 1/2 such that x greater than y

So for x less than y: 9C2 selections

And z can be any number from 0 to 9, so 10 ways.

So total number of such numbers is 9C2 . 10

= 360 numbers


No comments: