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

  2. P and Q walk along a circular track. They start at 5:00 a.m. from the same point in opposite directions. P walks at an average speed of 5 rounds per hour and Q walks at an average speed of 3 rounds per hour.
    How many times will they cross each other between 5:20 a.m. and 7:00 a.m.?

  3. A set (X) of 20 pipes can fill 70% of a tank in 14 minutes. Another set (Y) of 10 pipes fills 3/8 of the tank in 6 minutes. A third set (Z) of 16 pipes can empty half of the tank in 20 minutes. If half of the pipes of set X are closed and only half of the pipes of set Y are open, then how long will it take to fill 50% of the tank, if all pipes of set Z are open?

  4. X can complete one-third of a certain work in 6 days, Y can complete one-third of the same work in 8 days and Z can complete three-fourth of the same work in 12 days. All of them work together for n days and then X and Z quit and Y alone finishes the remaining work in 82⁄3 days. What is n equal to?

  5. A question is given followed by two Statements I and II. Consider the Question and the Statements and mark the correct option.

    Question:
    What is the smallest 1-digit number having exactly 4 distinct factors?

    Statement I: 2 is one of the factors.
    Statement II: 3 is one of the factors.

    Which one of the following is correct in respect of the above Question and the Statements?

  6. Consider a set of 11 numbers:

    Value-I = Minimum value of the average of the numbers of the set when they are consecutive integers ≥ -5.
    Value-II = Minimum value of the product of the numbers of the set when they are consecutive non-negative integers.

    Which one of the following is correct?

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

  8. The average of three numbers p, q and r is k. p is as much more than the average as q is less than the average. What is the value of r?

  9. What is X in the sequence:
    24, X, 12, 18, 36, 90 ?

  10. If P = +, Q = −, R = ×, S = ÷, then insert the proper notations between the successive numbers in the equation:
    60_15_3_20_4 = 20


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
666 Tests 3 Tests Free
2125 Attempts
4.8(218)
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