InterviewSolution
| 1. |
There Is A 5 Digit No. Sum Of 3 Pairs Of Digits Is Eleven Each. Last Digit Is 3 Times The First One. 3rd Digit Is 3 Less Than The Second. 4th Digit Is 4 More Than The Second One. Find The Number? |
|
Answer» We are GIVEN a 5 digit number Let FIRST digit be 'X' then 5th digit is '3X' let 2ND digit be 'Y' then 3rd digit is 'Y - 3' and 4th digit is 'Y + 4' then the no is '(X)(Y)(Y - 3)(Y + 4)(3X)' from the above we can say 3X <= 9 so X<=3 and any of the digit in the number is <= 9 and also given that 3 pairs sum is 11... Also Y–3 ≥ 0 and Y+4 ≤ 9 ⇒ Y ≥ 3 and Y ≤ 5 i.e. Y = 3,4 or 5 for x = 1, all the conditions won’t be satisfied. For x = 2, Let Y = 5 ∴ The number is 25296 We are given a 5 digit number Let first digit be 'X' then 5th digit is '3X' let 2nd digit be 'Y' then 3rd digit is 'Y - 3' and 4th digit is 'Y + 4' then the no is '(X)(Y)(Y - 3)(Y + 4)(3X)' from the above we can say 3X <= 9 so X<=3 and any of the digit in the number is <= 9 and also given that 3 pairs sum is 11... Also Y–3 ≥ 0 and Y+4 ≤ 9 ⇒ Y ≥ 3 and Y ≤ 5 i.e. Y = 3,4 or 5 for x = 1, all the conditions won’t be satisfied. For x = 2, Let Y = 5 ∴ The number is 25296 |
|