Quote:
|
Originally Posted by ritika_j A=={0,1,4,5,7,8}
Unless stated otherwise number are formed without repetition of digits. In the following question'n' refers to the number of digits in the number being formed.
Q- with n=5 how many numbers can be formed such that the sum of three-digit number formed withe first three digits and the two-digit numbers formed with the remaining two digits is odd?
hey ppl. slove with explanation.... |
hi ..interesting problem..
this is my solution ..the numbers might be slightly wrong but i think the approach is right..
here goes...
basically u hv 6 numbers to be placed in 5 slots ..satisfying ur condition ..
for satisfying the condition..i.e,sum of first 3 +last 2 digits is odd...there are two ways..
number formed by first 3 is odd and next 2 is even
or vice versa...
for first case...
spose ur no is abcde
therefor c can be filled in 3 ways(1,5,7) e can be filled in 3 ways (0,4,8 )
and the remaing 3 spots can be filled by the remaining 4 nos in 4p3 ways
so ... total no of ways = 3*3*4p3 ..
now we have to subtract becos there will be nos with 0 in the first place..
for that we can proceed like this ..place 0 at first position..
as above 3rd spot can be filled in 3 ways ..but last sot can e filled in only 2 ways (4,8 ) ..now remaining 2 spots ad 3 nos ..can be done in 3p2 ways..
so total....3*2*3P2
for second case using the same logic as above..
3*3*4p3 - 2*3*3p2 ..
so total number of nos ... 2*(9*4p3-6*3p2)
..any flaw in the logic??do point out.
andy..