Sigma Percentile
JEE Main 2023 (15 April Shift 1)
LEVELJEE Main

Animated Solution for Mathematics - Permutations and Combinations: 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 ________.

Enter Numerical Value:

Visualized Solution

Visualizing the -Digit PIN

  • Let the -digit PIN be .
  • Constraints:
  • 1. All digits are distinct: .

Constraint: Greatest Digit is

  • The greatest digit is .
  • This means the set of available digits is .
  • The digit must be present in the PIN.

Constraint: Sum of Pairs

  • The sum of the first two digits equals the sum of the last two digits.

Defining the Sum

  • Let .
  • Since must be one of the digits, the minimum possible sum is .
  • Therefore, .

Case 1:

  • Case 1: .
  • Possible pairs from that sum to :
  • .
  • The pair is mandatory to include the digit .

Case 1 Calculation

  • If , they can be arranged in ways.
  • can be chosen from the remaining pairs ( ways) and arranged in ways.
  • Ways = .
  • If , similarly we get ways.
  • Total for is .

Case 2:

  • Case 2: .
  • Possible pairs: .
  • Note: is excluded because digits must be distinct.
  • Mandatory pair: .

Case 2 Calculation

  • Mandatory pair can be or ( positions).
  • It can be arranged in ways.
  • The other pair is chosen from the remaining pairs ( ways) and arranged in ways.
  • Total ways = .

Case 3:

  • Case 3: .
  • Possible pairs: .
  • Mandatory pair: .
  • Calculation is identical to .
  • Total ways = .

Case 4:

  • Case 4: .
  • Possible pairs: .
  • Note: is excluded.
  • We only have valid pairs, so both must be used.

Case 4 Calculation

  • The pairs can be placed in ways (either or ).
  • Digits within each pair can be arranged in ways.
  • Total ways = .

Case 5:

  • Case 5: .
  • Possible pairs: .
  • Both pairs must be used.
  • Calculation is identical to .
  • Total ways = .

Why no more cases?

  • Checking :
  • For , the only valid pair is . We lack a second pair.
  • For , only is possible.
  • Thus, no cases exist for .

Final Calculation

  • Total number of trials = Sum of all cases.
  • Total = .
  • Total = .
  • Final Answer: 72

The Sigma Insight: Combinations and Selection

Solution Diagram

Analyzing the Setup

We are tasked with finding the number of -digit sequences such that all digits are distinct, the largest digit is , and the sum of the first two digits equals the sum of the last two. Let the set of available digits be .
We define the "magic sum" such that:
Since the largest digit is , the smallest possible sum is . We must systematically evaluate each possible value of while ensuring is included in one of the pairs.

Systematic Search for

For , the available pairs are . To satisfy the condition, we must select the pair and one of the remaining pairs.
The number of ways to arrange these is:
For , the pairs are . We must select and one of the remaining pairs.
The number of ways is:
For , the pairs are . We must select and one of the remaining pairs.
The number of ways is:

Tightening Constraints

For , the pairs are and . We must use both pairs to form the PIN.
The number of ways is:
For , the pairs are and . Again, we must use both pairs.
The number of ways is:
For , the only pair containing is . However, there is no remaining pair that sums to using the available digits , so no further solutions exist.

Final Calculation

To find the total number of valid PINs, we sum the results from each case:
The total number of possible PINs is .

Similar Questions

JEE Main 2023 (13 April Shift 1)
LEVELJEE Main

The number of seven digit positive integers formed using the digits 1, 2, 3 and 4 only and sum of the digits equal to 12 is _______.

JEE Main 2024 (05 April Shift 1)
LEVELJEE Main

The number of ways of getting a sum 16 on throwing a dice four times is______

JEE Main 2022 (25 June Shift 2)
LEVELJEE Main

The total number of three-digit numbers, with one digit repeated exactly two times, is ______.

JEE Main 2024 (09 Apr Shift 2)
LEVELJEE Advanced

The number of integers, between 100 and 1000 having the sum of their digits equals to 14, is _________

JEE Main 2023 (29 January Shift 1)
LEVELJEE Main

If all the six digit numbers with are arranged in the increasing order, then the sum of the digits in the number is ____.

JEE Main 2020 - 4 Sep (Evening)
LEVELBoard

A test consists of 6 multiple choice questions, each having 4 alternative answers of which only one is correct. The number of ways, in which a candidate answers all six questions such that exactly four of the answers are correct, is

JEE Main 2022 (24 June Shift 1)
LEVELJEE Main

In an examination, there are 5 multiple choice questions with 3 choices, out of which exactly one is correct. There are 3 marks for each correct answer, -2 marks for each wrong answer and 0 mark if the question is not attempted. Then, the number of ways a student appearing in the examination gets 5 marks is_.

JEE Main 2020 (8 January Shift 1)
LEVELJEE Main

An urn contains 5 red marbles, 4 black marbles and 3 white marbles. Then the number of ways in which 4 marbles can be drawn so that at most three of them are red is __________.

JEE Main 2026 (23 January Shift 2)
LEVELJEE Main

Let S denote the set of 4-digit numbers such that and P denote the set of 5-digit numbers having product of its digits equal to 20. Then is equal to ......... .

JEE Main 2003
LEVELBoard

A student is to answer 10 out of 13 questions in an examination such that he must choose at least 4 from the first five questions. The number of choices available to him is

(A)
346
(B)
140
(C)
196
(D)
280