All Exams Test series for 1 year @ ₹349 only
Question

The 5-digit number PQRST (all distinct digits) is such that T ≠ 0, P is thrice T. S is greater than Q by 4, while Q is greater than R by 3. How many such 5-digit numbers are possible?

The correct answer is

4

Understanding the 5-Digit Number Problem

The question asks us to find the number of 5-digit numbers PQRST where P, Q, R, S, and T are all distinct digits. We are given several conditions relating these digits:

  • P, Q, R, S, T are distinct digits (0, 1, 2, 3, 4, 5, 6, 7, 8, 9).
  • T ≠ 0.
  • P is thrice T: \( P = 3T \).
  • S is greater than Q by 4: \( S = Q + 4 \).
  • Q is greater than R by 3: \( Q = R + 3 \).
  • The number is PQRST, which is a 5-digit number, meaning P ≠ 0.

Analyzing the Relationships and Constraints

Let's break down the given conditions to find possible values for the digits.

Relationship between P and T

We know \( P = 3T \). Since P is the first digit of a 5-digit number, \( P \ne 0 \). Also, T ≠ 0. Both P and T must be single digits (0-9).

Possible pairs for (P, T) that satisfy \( P = 3T \) and \( P \ne 0, T \ne 0 \) are:

  • If \( T = 1 \), then \( P = 3 \times 1 = 3 \). (P=3, T=1) - Valid pair.
  • If \( T = 2 \), then \( P = 3 \times 2 = 6 \). (P=6, T=2) - Valid pair.
  • If \( T = 3 \), then \( P = 3 \times 3 = 9 \). (P=9, T=3) - Valid pair.
  • If \( T = 4 \), then \( P = 3 \times 4 = 12 \). 12 is not a single digit. No further possibilities for T.

So, the possible (P, T) pairs are (3, 1), (6, 2), and (9, 3).

Relationships between Q, R, and S

We are given \( Q = R + 3 \) and \( S = Q + 4 \).

Substitute the first equation into the second:

\( S = (R + 3) + 4 \)

\( S = R + 7 \)

So, the digits Q, R, and S must be in the form R, R+3, and R+7. All these must be distinct digits between 0 and 9.

Finding the Possible 5-Digit Numbers

Now we combine the conditions. For each possible (P, T) pair, we find valid digits for R, Q, and S such that all five digits P, Q, R, S, T are distinct and within the range 0-9.

Case 1: (P, T) = (3, 1)

Digits used so far are 3 and 1. The remaining digits Q, R, S must be R, R+3, R+7 and must be distinct from 3 and 1, and also distinct from each other (which R, R+3, R+7 naturally are if R >= 0).

Let's check possible values for R (R must be a digit 0-9):

  • If \( R = 0 \): \( Q = 0 + 3 = 3 \), \( S = 0 + 7 = 7 \). Digits are {P=3, T=1, Q=3, R=0, S=7}. Q=3 is not distinct from P=3. Invalid.
  • If \( R = 1 \): \( Q = 1 + 3 = 4 \), \( S = 1 + 7 = 8 \). Digits are {P=3, T=1, Q=4, R=1, S=8}. R=1 is not distinct from T=1. Invalid.
  • If \( R = 2 \): \( Q = 2 + 3 = 5 \), \( S = 2 + 7 = 9 \). Digits are {P=3, T=1, Q=5, R=2, S=9}. These are {3, 1, 5, 2, 9}, all distinct digits. Valid. The number is 35291.
  • If \( R = 3 \): \( Q = 3 + 3 = 6 \), \( S = 3 + 7 = 10 \). S=10 is not a single digit. Invalid.

Any value of R greater than 2 will result in S being greater than 9. So, for (P, T) = (3, 1), there is 1 valid number.

Case 2: (P, T) = (6, 2)

Digits used so far are 6 and 2. The remaining digits Q, R, S must be R, R+3, R+7 and must be distinct from 6 and 2.

Let's check possible values for R:

  • If \( R = 0 \): \( Q = 0 + 3 = 3 \), \( S = 0 + 7 = 7 \). Digits are {P=6, T=2, Q=3, R=0, S=7}. These are {6, 2, 3, 0, 7}, all distinct digits. Valid. The number is 63072.
  • If \( R = 1 \): \( Q = 1 + 3 = 4 \), \( S = 1 + 7 = 8 \). Digits are {P=6, T=2, Q=4, R=1, S=8}. These are {6, 2, 4, 1, 8}, all distinct digits. Valid. The number is 64182.
  • If \( R = 2 \): \( Q = 2 + 3 = 5 \), \( S = 2 + 7 = 9 \). Digits are {P=6, T=2, Q=5, R=2, S=9}. R=2 is not distinct from T=2. Invalid.
  • If \( R = 3 \): \( Q = 3 + 3 = 6 \), \( S = 3 + 7 = 10 \). Q=6 is not distinct from P=6. Invalid.

Any value of R greater than 2 will result in Q or S overlapping with P, T or exceeding 9. So, for (P, T) = (6, 2), there are 2 valid numbers.

Case 3: (P, T) = (9, 3)

Digits used so far are 9 and 3. The remaining digits Q, R, S must be R, R+3, R+7 and must be distinct from 9 and 3.

Let's check possible values for R:

  • If \( R = 0 \): \( Q = 0 + 3 = 3 \), \( S = 0 + 7 = 7 \). Digits are {P=9, T=3, Q=3, R=0, S=7}. Q=3 is not distinct from T=3. Invalid.
  • If \( R = 1 \): \( Q = 1 + 3 = 4 \), \( S = 1 + 7 = 8 \). Digits are {P=9, T=3, Q=4, R=1, S=8}. These are {9, 3, 4, 1, 8}, all distinct digits. Valid. The number is 94183.
  • If \( R = 2 \): \( Q = 2 + 3 = 5 \), \( S = 2 + 7 = 9 \). Digits are {P=9, T=3, Q=5, R=2, S=9}. S=9 is not distinct from P=9. Invalid.

Any value of R greater than 1 will result in Q or S overlapping with P, T or exceeding 9. So, for (P, T) = (9, 3), there is 1 valid number.

Total Number of Such 5-Digit Numbers

Summing the valid numbers from each case:

  • Case 1: 1 number
  • Case 2: 2 numbers
  • Case 3: 1 number

Total number of possible 5-digit numbers = 1 + 2 + 1 = 4.

The possible numbers are 35291, 63072, 64182, and 94183.

(P, T) Pair Possible R Q = R+3 S = R+7 Digits {P, Q, R, S, T} Distinct? Valid Number PQRST
(3, 1) 0 3 7 {3, 3, 0, 7, 1} No (Q=P) -
1 4 8 {3, 4, 1, 8, 1} No (R=T) -
2 5 9 {3, 5, 2, 9, 1} Yes 35291
(6, 2) 0 3 7 {6, 3, 0, 7, 2} Yes 63072
1 4 8 {6, 4, 1, 8, 2} Yes 64182
2 5 9 {6, 5, 2, 9, 2} No (R=T) -
3 6 10 {6, 6, 3, 10, 2} No (Q=P, S>9) -
(9, 3) 0 3 7 {9, 3, 0, 7, 3} No (Q=T) -
1 4 8 {9, 4, 1, 8, 3} Yes 94183
2 5 9 {9, 5, 2, 9, 3} No (S=P) -

Revision Table: Key Conditions and Derivations

Condition Mathematical Representation / Derivation Constraints
5-digit number PQRST, distinct digits P, Q, R, S, T \(\in \{0, 1, ..., 9\}\), all different \(P \ne 0\)
T ≠ 0 \(T \in \{1, 2, ..., 9\}\) Given
P is thrice T \(P = 3T\) Combined with \(P \ne 0, T \ne 0\) gives (3,1), (6,2), (9,3) for (P,T)
Q is greater than R by 3 \(Q = R + 3\) Q, R are digits 0-9
S is greater than Q by 4 \(S = Q + 4\) S, Q are digits 0-9
Derived relation for S, Q, R \(S = R + 7\) R, R+3, R+7 must be distinct digits 0-9

Additional Information: Solving Digit Puzzles

Digit puzzles like this involve combining multiple constraints on single digits to narrow down possibilities. A systematic approach is crucial.

Steps often involve:

  1. Writing down all given conditions mathematically.
  2. Identifying constraints on individual digits (e.g., \(P \ne 0\), digits must be 0-9).
  3. Deriving new relationships between digits from the given ones (like \(S = R + 7\) from \(Q=R+3\) and \(S=Q+4\)).
  4. Starting with the most constrained relationships (like \(P=3T\) with \(P \ne 0, T \ne 0\)) to list initial possibilities.
  5. For each initial possibility, checking if the remaining digits can be found satisfying their conditions and the distinctness requirement for all digits.
  6. Using a table can help keep track of possibilities and check for distinctness efficiently.

This method ensures all conditions are met simultaneously and no valid combinations are missed.

Was this answer helpful?

Similar Questions

  1. Which one of the following statements best reflects the critical message conveyed by the author of the passage?

  2. With reference to the above passage, the following assumptions have been made:
    I. No country needs to depend on ecosystems to boost national income.
    II. Resource-rich countries need to share their resources with those of scant resources so as to prevent the degradation of ecosystems.
    Which of the above assumptions is/are valid?

  3. Which one of the following statements best reflects the central idea of the passage?

  4. With reference to the above passage, the following assumptions have been made:
    I. Path-dependent green investments will eventually most likely benefit growth as well as public finances in a country like India.
    II. If other green technologies follow the same pattern as that of solar energy, there will most likely be an easy green transition.
    Which of the above assumptions is/are valid?

  5. Three prime numbers p, q and r, each less than 20, are such that p − q = q − r. How many distinct possible values can we get for (p + q + r)?

  6. How many possible values of (p + q + r) are there satisfying 1/p + 1/q + 1/r = 1, where p, q and r are natural numbers (not necessarily distinct)?

  7. What comes at X and Y respectively in the following sequence?
    January, January, December, October, X, March, October, Y, September

  8. Team X scored a total of N runs in 20 overs. Team Y tied the score in 10% less overs. Had Team Y’s average run rate (runs per over) been 50% higher, the scores would have been tied in 12 overs. How many runs were scored by Team X?

  9. The price (p) of a commodity is first increased by k%; then decreased by k%; again increased by k%; and again decreased by k%. If the new price is q, then what is the relation between p and q?

  10. Which one of the following statements best reflects the most logical, rational and pragmatic message conveyed by the author of the passage?


Important Questions from Miscellaneous Topics

  1. Which one of the following statements best reflects the critical message conveyed by the author of the passage?

  2. With reference to the above passage, the following assumptions have been made:
    I. No country needs to depend on ecosystems to boost national income.
    II. Resource-rich countries need to share their resources with those of scant resources so as to prevent the degradation of ecosystems.
    Which of the above assumptions is/are valid?

  3. Which one of the following statements best reflects the central idea of the passage?

  4. With reference to the above passage, the following assumptions have been made:
    I. Path-dependent green investments will eventually most likely benefit growth as well as public finances in a country like India.
    II. If other green technologies follow the same pattern as that of solar energy, there will most likely be an easy green transition.
    Which of the above assumptions is/are valid?

  5. Three prime numbers p, q and r, each less than 20, are such that p − q = q − r. How many distinct possible values can we get for (p + q + r)?

Need Expert Advice?
Upcoming Exams
UPSC CMS
August 02, 2026
IAS Exam
August 21, 2026
UPSC SO Steno
December 12, 2026
Test Series
IAS img
UPSC
UPSC CSE (IAS) 2027 Prelims Mock Test Series
654 Tests 3 Tests Free
679 Attempts
4.8(182)
English, Hindi

Start Your Preparation with Prepp Mobile App

Download the app from Google Play & App Store
Download the app from Google Play & App Store
Prepp Mobile App