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 most logical and rational message conveyed by the author of the passage?

  2. With reference to the above passage, the following assumptions have been made:
    I. There is no need for the State to be involved in any manner in the handloom sector.
    II. Handloom products are no longer appealing and attractive in the rapidly changing modern world.
    Which of the above assumptions is/are valid?

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

  4. Which one of the following statements best reflects the central idea conveyed by the passage?

  5. With reference to the above passage, the following assumptions have been made:
    I. Global climate change can result in the migration of several plant diseases to new areas.
    II. Scientific understanding of the wild relatives of our present crops would enable us to strengthen food security.
    Which of the above assumptions is/are valid?

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

  7. 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?

  8. A natural number N is such that it can be expressed as N = p + q + r, where p, q and r are distinct factors of N. How many numbers below 50 have this property?

  9. 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?

  10. A 4-digit number N is such that when divided by 3, 5, 6, 9 leaves a remainder 1, 3, 4, 7 respectively. What is the smallest value of N?


Important Questions from Miscellaneous Topics

  1. In communication the word 'Haptics' signifies :
  2. Which of the following statements best defines the scope of semiotics?
  3. The compound interest on Rs. 75,000 for three years, at successive interest rates of 4%, 6% and 9% for each year respectively is:

  4. The value of x in the following figures is :

  5. When a child reaches adolescence, there is apt to be a conflict between the parents and the child, since
    the latter considers himself to be by now quite capable of managing his own affairs, while the former
    are filled with parental solicitude, which is often a disguise for love of power. Parents consider, usually,
    that the various moral problems which arise in adolescence are peculiarly their province. The options
    they express, however, are so dogmatic that the young seldom confide in them, and usually go their
    own way in secret.

Need Expert Advice?
Upcoming Exams
UPSC IFoS
November 22, 2026
UPSC SO Steno
December 12, 2026
Test Series
IAS img
UPSC
UPSC CSE (IAS) 2027 Prelims Mock Test Series
662 Tests 3 Tests Free
1703 Attempts
4.8(203)
English, Hindi
More Questions from IAS

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