Join 60,000+ competitive exam aspirants
If 2 is added to each odd digit and 2 is subtracted from each even digit in the number 52183475, what will be difference between the highest and lowest digits in the number thus formed?
7
9
10
8
9
Instead of re-writing the whole string, list only the unique digits present (1, 2, 3, 4, 5, 7, 8) and transform them directly to find the new set of values.
Identify the parity (odd/even) of each digit in the given sequence and apply the transformation rule (+2 for odd, -2 for even) individually.
After transforming the sequence, identify the resulting maximum and minimum digits to find their difference.
Instead of re-writing the whole string, list only the unique digits present (1, 2, 3, 4, 5, 7, 8) and transform them directly to find the new set of values.
Mapping the Digits
Original digits: 5, 2, 1, 8, 3, 4, 7, 5. Transformation rule: Odd digits +2, Even digits -2.
Applying Operations
5 (odd) becomes 7; 2 (even) becomes 0; 1 (odd) becomes 3; 8 (even) becomes 6; 3 (odd) becomes 5; 4 (even) becomes 2; 7 (odd) becomes 9; 5 (odd) becomes 7. Resulting sequence: 7, 0, 3, 6, 5, 2, 9, 7.
Finding the Difference
The set of digits in the new number is {0, 2, 3, 5, 6, 7, 9}. The highest digit is 9 and the lowest digit is 0. Difference = 9 - 0 = 9.
A: 7 is obtained if 0 is ignored, which is incorrect as 0 is a valid digit; C: 10 is mathematically impossible given the range of transformed digits; D: 8 is obtained if the minimum is calculated as 1 instead of 0.
B is correct because the transformation results in the set {0, 2, 3, 5, 6, 7, 9} where the maximum is 9 and minimum is 0, yielding a difference of 9.
Always treat 0 as a valid digit in number manipulation tasks; ignoring 0 is a classic trap in competitive exams.