Question Details

How many 4-digit numbers, each greater than 1000 and each having all four digits distinct, are there with 7 coming before 3

Show Answer
Correct Answer
315

Solution :

The correct answer is 315.

We need to count all 4-digit numbers where:

(i) The number is greater than 1000 (i.e., the leading digit is not 0)
(ii) All four digits are distinct
(iii) The digit 7 appears before the digit 3 (both must be present)

Since 7 must come before 3, both digits 7 and 3 must be present in the number. We then choose 2 more distinct digits from the remaining 8 digits: {0, 1, 2, 4, 5, 6, 8, 9}.


Step 1: Choose the remaining 2 digits

From the 8 available digits, choose 2:

C (8,2) = 28

We split these 28 groups into two cases based on whether 0 is included or not.


Step 2 — Case A: 0 is NOT one of the two extra digits

We choose 2 digits from {1, 2, 4, 5, 6, 8, 9} (7 digits, no zero):

(7,2) = 21 groups

Each group gives us a set of 4 digits: {3, 7, digit1, digit2}. Since none of them is 0, the leading digit restriction is automatically satisfied.

Total arrangements of 4 distinct non-zero-leading digits = 4! = 24.

Among all arrangements, by symmetry, exactly half have 7 appearing before 3:

242 = 12 valid arrangements per group

Case A total = 21 × 12 = 252


Step 3 — Case B: 0 IS one of the two extra digits

We choose 1 more digit from {1, 2, 4, 5, 6, 8, 9}:

(7,1) = 7 groups

Each group gives us a set of 4 digits: {0, 3, 7, digitx}. Now we must exclude arrangements where 0 is the leading digit.

Total arrangements with 7 before 3 (ignoring leading-zero rule):

4!2 = 12

Invalid arrangements (0 is the leading digit AND 7 before 3):
Fix 0 in the first position. The remaining 3 positions hold {3, 7, digitx}. We need 7 to appear before 3 among these 3 positions. The number of ways to arrange 3 items such that 7 comes before 3:

3!2 = 3 invalid arrangements per group

Valid arrangements per group = 12 − 3 = 9

Case B total = 7 × 9 = 63


Step 4: Add both cases

Total = Case A + Case B = 252 + 63 = 315

Therefore, the total number of valid 4-digit numbers greater than 1000, with all distinct digits, and with 7 coming before 3, is 315.

Transparent Access on Mindyard

Built for Learners & Educators Alike

Completely free for students. Educators & coaching institutes get 2 months free Pro trial to create tests.

FREE FOR STUDENTS

Practice & Learn Free for Students

Access unlimited practice questions, detailed step-by-step solutions, and exam study materials — completely free for students.

  • Unlimited mock tests & question bank practice
  • Full access to curated study library & formula notes
  • 100% free for students • No credit card required
2 MONTHS FREE TRIAL

Educators & Coaching Institutes

Create and conduct professional online assessments with AI question generation, tab proctoring, and comprehensive batch management.

  • AI question uploader & rapid test generator
  • Anti-cheating tab proctoring & performance reports
  • Full Pro access free for 60 days • No upfront commitment
Discover more resources

You may also like

Mock Tests

View All
  • JEE
  • intermediate
  • 3 hours
  • chemistry, mathematics, physics

A comprehensive JEE Advanced 2022 Paper 1 designed to help aspirants understand the examination pattern, difficulty level, and question trends of JEE Advanced. This paper covers important concepts from Physics, Chemistry, and Mathematics, featuring a balanced mix of conceptual, numerical, and advanced application-based questions. It helps students strengthen conceptual understanding, enhance analytical and problem-solving skills, and improve speed and accuracy. Ideal for practice, revision, self-assessment, previous year trend analysis, concept reinforcement, and time management, this paper is a valuable resource for effective JEE Advanced preparation.

  • JEE
  • intermediate
  • 3 hours
  • chemistry, mathematics, physics
  • Proctored

A comprehensive JEE Advanced 2022 Paper 2 designed to help aspirants understand the examination pattern, difficulty level, and question trends of JEE Advanced. This paper covers important concepts from Physics, Chemistry, and Mathematics, featuring a balanced mix of conceptual, numerical, and advanced application-based questions. It helps students strengthen conceptual understanding, enhance analytical and problem-solving skills, and improve speed and accuracy. Ideal for practice, revision, self-assessment, previous year trend analysis, concept reinforcement, and time management, this paper is a valuable resource for effective JEE Advanced preparation.

Ask AI Tutor
5 left
Q1 View Question & Options
AI Tutor is solving this question...
Reading question context & options...
Ask your own doubt or choose a quick prompt: