Quote:
|
Originally Posted by Eccentric The teacher put up some digit on blackboard.
To be precise teacher puts exactly twenty '1's, Thirty '2's and Thirty five '3's on the board.
then she asks randomly picks one student and him to perform exctly one out of following three operations (if possible):
1. Erase one '1' and one '2' and put an extra '3'.
2. Erase one '2' and one '3' and put an extra '1'.
3. Erase one '3' and one '1' and put an extra '2'.
She keeps on picking students and doing this and number of digits on the board keeps on reducing.
What can be said about the last digit on the board? If it will be a particular one which will be the last digit remaing on the board? else what all digits can be the last remaining on the board and why??? |
I believe that the answer lies in the no of these no.s being even or odd...lets call it polarity...
initially no. of 1s and 2s are even and no of 3s are odd......
lets analyse the three operations
1. -(1), -(2), +(3) so if polarity is even even odd initially then polarity becomes odd odd even...or lets say eeo---ooe
2. +(1), -(2), -(3) means eeo----ooe
3. -(1), +(2), -(3) means eeo----ooe
similarly in any case if we start with ooe, we'll get eeo as the respective polarities
means polarities of no of 1s and no of 2s will always remain same and different from 3s polarity..so (1s and 3s ) or (2s and 3s) can never become zero at the same time(different polarities)...so 1s and 2s can simultaneously become 0 and we'll be left with 3s only......
i believe this logic is correct..