Quantrex Quantrex AcademyJEE · NEET · NDA PYQs with solutions Open app
JEE Main 202315 AprilMorning Shift
Exam
JEE Main
Year
2023
Date
15 April
Shift
Morning Shift
Subject
Mathematics
Chapter
Permutation and Combination

JEE Main 2023 · 15 April · Morning Shift · Mathematics · Permutation and Combination

A person forgets his 4 -digit ATM pin code. But he remembers that...

A person forgets his 44-digit ATM pin code. But he remembers that in the code all the digits are different, the greatest digit is 77 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________.

Correct answer

0

Step-by-step solution

Let the 4−4 -digit pin be abcdabcd

Now given sum of first two is equal to last two, so a+b=c+da + b = c + d

And number available are 0,1,2,3,4,5,6,70, 1, 2, 3, 4, 5, 6, 7

Now Let a+b=c+d=λa + b = c + d = \lambda

Also the greatest digit that he has used is 77

So, a+b=c+d=λ≥7a + b = c + d = \lambda \ge 7

Now taking all cases starting from λ=7\lambda = 7 we get,

λ=7,(a,b)→(0,7)or(7,0)\lambda = 7, \left(a, b\right) \to \left(0, 7\right)\text{or}\left(7, 0\right), then \left(c, d\right) \to \left(1, 6\right), \left(2, 5\right), \left(3, 4\right), \left(4, 3\right), \left(5, 2\right), \left(6, 1\right)andvice−versa,soand vice-versa, so2 \times 12 = 24numbers</p><p>numbers</p><p>\lambda = 8, \left(a, b\right) \to \left(1, 7\right)\text{or}\left(7, 1\right),then(c,d)→(2,6),(3,5),(6,2),(5,3), then \left(c, d\right) \to \left(2, 6\right), \left(3, 5\right), \left(6, 2\right), \left(5, 3\right) and vice versa so total 2×8=162 \times 8 = 16 numbers,

λ=9,(a,b)→(2,7)or(7,2)\lambda = 9, \left(a, b\right) \to \left(2, 7\right)\text{or}\left(7, 2\right) then \left(c, d\right) \to (3,6),(4,5),(5,4),(6,3)\left(3, 6\right), \left(4, 5\right), \left(5, 4\right), \left(6, 3\right) and vice versa, so total 2×8=162 \times 8 = 16 numbers,

λ=10,(a,b)→(3,7),(7,3),so(c,d)→(6,4),(4,6)→8\lambda = 10, \left(a, b\right) \to \left(3, 7\right), \left(7, 3\right), \text{so}\left(c, d\right) \to \left(6, 4\right), \left(4, 6\right) \to 8 numbers

λ=11,(a,b)→(4,7),(7,4),so(c,d)→(6,5),(5,6)→8\lambda = 11, \left(a, b\right) \to \left(4, 7\right), \left(7, 4\right), \text{so}\left(c, d\right) \to \left(6, 5\right), \left(5, 6\right) \to 8 numbers

λ=12,13 and 14\lambda = 12, 13 \text{ and } 14 are not possible,

So, Total numbers =24+16+16+8+8=72= 24 + 16 + 16 + 8 + 8 = 72

Practice Permutation and Combination on Quantrex Academy →

More from Permutation and Combination

All Permutation and Combination questions Full Permutation and Combination list Permutation and Combination JEE Maths PYQsJEE Mathematics PYQs All JEE Main PYQs