Q. A person forgets his 4-digit ATM pin code. But he remembers that in the code all the digits are different, the greatest digit is 7 and the sum of the first two digits is equal to the sum of the last two digits. Then the maximum number of trials necessary to obtain the correct code is________.

Numerical Question

This is a numerical-answer question. The correct answer is shown below.

Explanation

[Solution by Dr. Abubacker] The code is a pair of disjoint digit-pairs with equal sum, one pair containing $7$. Sum $7$: pairs $(0,7)$ with the other pair among $3$ choices, giving $3\times8=24$. Sum $8$: $(1,7)$ with $2$ choices, $16$. Sum $9$: $(2,7)$ with $2$ choices, $16$. Sum $10$: $(3,7)$ with $(4,6)$, $8$. Sum $11$: $(4,7)$ with $(5,6)$, $8$. (Each unordered choice gives $2\times2\times2=8$ arrangements.) Total $24+16+16+8+8=72$. Answer: 72.

Dr. Abubacker
Reviewed by Dr. Abubacker

Physics Educator & NEET/JEE Specialist

Ph.D. in Physics with 19+ years of teaching experience.

Want to attempt the full paper?
View Full Paper Take Full Paper Online