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

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?

This question was previously asked in
UPSC CSE 2025 (Prelims) CSAT Official Paper (25-May-2025)
The correct answer is

8

Finding Natural Numbers with a Special Factor Property

The problem asks us to find the count of natural numbers N, less than 50, that can be expressed as the sum of three distinct factors of N. Let these distinct factors be p, q, and r, such that p < q < r and N = p + q + r.

Understanding the Condition N = p + q + r

For N to be the sum of three distinct factors, it must have at least three distinct factors. Numbers with only one or two factors (prime numbers and 1) are immediately ruled out. Also, the smallest possible sum of three distinct factors for any number greater than 1 will always be the sum of its three smallest factors. These are typically 1, the smallest prime factor, and the next smallest factor.

For N = p + q + r, where p, q, r are distinct factors of N, the smallest possible sum of three distinct factors is $1 + (\text{smallest prime factor}) + (\text{second smallest factor})$. Since p, q, and r must be distinct, $p \ge 1$, $q \ge 2$ (if 2 is a factor) or $q \ge 3$ (if 2 is not a factor but 3 is), and $r$ would be the next distinct factor. If N has factors 1, 2, and 3, the smallest sum is $1+2+3=6$. Thus, any number N satisfying this property must be at least 6.

Checking Natural Numbers Below 50

We need to examine each natural number N from 6 up to 49. For each N, we will find all its factors and check if any combination of three distinct factors sums up to N.

Let's check some numbers:

  • N = 6: Factors are 1, 2, 3, 6. Can we find three distinct factors p, q, r such that p + q + r = 6? Let's check combinations:
    • 1 + 2 + 3 = 6. Yes. So, N=6 satisfies the property.
  • N = 12: Factors are 1, 2, 3, 4, 6, 12. Can we find three distinct factors p, q, r such that p + q + r = 12? Let's check combinations:
    • Smallest possible sum of three distinct factors: 1 + 2 + 3 = 6 (< 12)
    • Larger combinations: 2 + 4 + 6 = 12. Yes. So, N=12 satisfies the property.
  • N = 18: Factors are 1, 2, 3, 6, 9, 18. Can we find three distinct factors p, q, r such that p + q + r = 18?
    • Smallest sum: 1 + 2 + 3 = 6.
    • Try combinations: 3 + 6 + 9 = 18. Yes. So, N=18 satisfies the property.
  • N = 24: Factors are 1, 2, 3, 4, 6, 8, 12, 24. Can we find three distinct factors p, q, r such that p + q + r = 24?
    • Smallest sum: 1 + 2 + 3 = 6.
    • Try combinations: 4 + 8 + 12 = 24. Yes. So, N=24 satisfies the property.
  • N = 30: Factors are 1, 2, 3, 5, 6, 10, 15, 30. Can we find three distinct factors p, q, r such that p + q + r = 30?
    • Smallest sum: 1 + 2 + 3 = 6.
    • Try combinations: 5 + 10 + 15 = 30. Yes. So, N=30 satisfies the property.
  • N = 36: Factors are 1, 2, 3, 4, 6, 9, 12, 18, 36. Can we find three distinct factors p, q, r such that p + q + r = 36?
    • Smallest sum: 1 + 2 + 3 = 6.
    • Try combinations: 6 + 12 + 18 = 36. Yes. So, N=36 satisfies the property.
  • N = 42: Factors are 1, 2, 3, 6, 7, 14, 21, 42. Can we find three distinct factors p, q, r such that p + q + r = 42?
    • Smallest sum: 1 + 2 + 3 = 6.
    • Try combinations: 7 + 14 + 21 = 42. Yes. So, N=42 satisfies the property.
  • N = 48: Factors are 1, 2, 3, 4, 6, 8, 12, 16, 24, 48. Can we find three distinct factors p, q, r such that p + q + r = 48?
    • Smallest sum: 1 + 2 + 3 = 6.
    • Try combinations: 8 + 16 + 24 = 48. Yes. So, N=48 satisfies the property.

We continue this process for all numbers from 6 to 49. We found that numbers 6, 12, 18, 24, 30, 36, 42, and 48 satisfy the property.

Number NFactors of NDistinct Factors p, q, r such that N = p + q + rSatisfies Property?
61, 2, 3, 61 + 2 + 3 = 6Yes
121, 2, 3, 4, 6, 122 + 4 + 6 = 12Yes
181, 2, 3, 6, 9, 183 + 6 + 9 = 18Yes
241, 2, 3, 4, 6, 8, 12, 244 + 8 + 12 = 24Yes
301, 2, 3, 5, 6, 10, 15, 305 + 10 + 15 = 30Yes
361, 2, 3, 4, 6, 9, 12, 18, 366 + 12 + 18 = 36Yes
421, 2, 3, 6, 7, 14, 21, 427 + 14 + 21 = 42Yes
481, 2, 3, 4, 6, 8, 12, 16, 24, 488 + 16 + 24 = 48Yes


 

List of Numbers Below 50 with the Property

The natural numbers below 50 that satisfy the property N = p + q + r, where p, q, and r are distinct factors of N, are:

  • 6
  • 12
  • 18
  • 24
  • 30
  • 36
  • 42
  • 48

Conclusion

By checking each number from 6 to 49, we found that there are 8 such numbers that can be expressed as the sum of three distinct factors.

Revision Table: Key Concepts

ConceptDescriptionRelevance to Problem
Natural NumberA positive integer (1, 2, 3, ...).The numbers N we are examining are natural numbers below 50.
Factor (Divisor)A number that divides another number evenly (with no remainder).The numbers p, q, and r must be factors of N.
Distinct FactorsFactors that are different from each other (p ≠ q, q ≠ r, p ≠ r).The condition explicitly states the factors must be distinct.
Sum of FactorsAdding the values of selected factors.We check if N equals the sum of three distinct factors.


 

Additional Information: Factor Properties

Exploring factors is a fundamental part of number theory. Every natural number greater than 1 has at least two factors: 1 and itself. Numbers with exactly two factors are called prime numbers. Numbers with more than two factors are called composite numbers.

Finding factors of a number N involves testing divisibility by numbers from 1 up to $\sqrt{N}$. If a number i divides N evenly, then i and N/i are both factors. For example, to find factors of 36, we check divisibility from 1 up to $\sqrt{36} = 6$.

  • 1 divides 36, so 1 and 36 are factors.
  • 2 divides 36, so 2 and 18 are factors.
  • 3 divides 36, so 3 and 12 are factors.
  • 4 divides 36, so 4 and 9 are factors.
  • 5 does not divide 36.
  • 6 divides 36, so 6 is a factor (paired with itself).

The factors of 36 are 1, 2, 3, 4, 6, 9, 12, 18, and 36. This systematic approach helps ensure all factors are found when checking the condition N = p + q + r.

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
681 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