Composite Numbers: Definition, Examples, Properties and Tricks
Composite Numbers are positive integers greater than 1 that have more than two factors. This page explains their factor properties, prime factorisation, divisor-count formula, identification methods and common exceptions. Worked examples include even and odd composite numbers, the special cases of 1 and 0, and methods for solving composite number questions quickly.
On this page
What Are Composite Numbers?
For example, 12 has factors 1, 2, 3, 4, 6 and 12, so it is composite. The smallest composite number is 4 because its factors are 1, 2 and 4. The number 1 is neither prime nor composite, while 2 and 3 are prime numbers.
Composite Numbers Video Lessons
Watch short topic-wise lessons for quick revision.
Types of Numbers Classification
Understand the classification of numbers, including natural, whole, integer, rational, irrational, real and complex numbers, and see how these categories are related in the classification tree.
Composite Numbers Formula & Tricks
Important Formulas
A number is composite when its divisor count d(n) is greater than 2.
Here, π(n) represents the number of primes less than or equal to n. The subtraction excludes 1 and all prime numbers.
Finding any proper factor other than 1 and the number itself proves that the number is composite.
Quick Tricks
To decide whether n is composite, test divisibility by prime numbers up to √n. If one divides n exactly, n is composite; if none does, n is prime.
Every even integer greater than 2 is composite because it has 2 as a proper factor.
A number divisible by 3, 5, 7 or another divisor greater than 1 and less than the number is composite. For 3, add the digits; for 5, check whether the last digit is 0 or 5.
Composite Numbers Concepts
Factor Count and Composite Numbers
Every integer greater than 1 has at least the divisors 1 and itself. A third divisor indicates that the number has a factor pair other than 1 and the number itself. For example, 18 has six divisors: 1, 2, 3, 6, 9 and 18.
Prime Factorisation Test
If a number is expressed as a product of two or more primes, it is composite. For n = 2³ × 3², the divisor count is (3 + 1)(2 + 1) = 12, so n has more than two divisors and is composite.
Prime, Composite and Neither
The number 1 is neither prime nor composite because it has only one factor. The first prime numbers are 2, 3, 5 and 7. The first composite numbers are 4, 6, 8, 9 and 10.
Testing a Number for Compositeness
A composite number n has at least one factor not exceeding √n. Thus, checking divisibility by primes up to √n is sufficient. For 97, √97 is less than 10, and 97 is not divisible by 2, 3, 5 or 7; hence 97 is prime, not composite.
Counting Composite Numbers in a Range
The integers from 1 to n contain one number that is neither prime nor composite, namely 1. Every remaining number is either prime or composite. Therefore, subtract 1 and the prime count π(n) from n.
Composite Numbers Data Table
Use the structured data below while following the explanation and examples.
Classification of Small Integers
Examples of prime, composite and neither-prime-nor-composite numbers.
| Number | Factors | Classification |
|---|---|---|
| 1 | 1 | Neither prime nor composite |
| 2 | 1, 2 | Prime |
| 3 | 1, 3 | Prime |
| 4 | 1, 2, 4 | Composite |
| 9 | 1, 3, 9 | Composite |
| 12 | 1, 2, 3, 4, 6, 12 | Composite |
Note: A prime number has exactly two factors; a composite number has more than two factors.
Practice Composite Numbers Questions
Practise published questions related to this topic.
Composite Numbers Quick Quiz
Attempt 5 questions and check your score instantly.
Keep practising
Practice more Composite Numbers questions in the PrepShots app and continue from your current topic.
Practice More Questions - Start ₹1 Trial →Quick Revision Notes
Composite Numbers: Quick Revision
Recall the definitions, tests and formulas used to identify and count composite numbers.
- A composite number is an integer greater than 1 with more than two positive factors.
- The smallest composite number is 4.
- The number 1 is neither prime nor composite.
- Every even number greater than 2 is composite.
- If n = p₁ᵃ¹ × p₂ᵃ² × ... × pₖᵃᵏ, then d(n) = (a₁ + 1)(a₂ + 1) ... (aₖ + 1).
- A number is composite if it has a divisor between 2 and n − 1.
- For a compositeness test, check prime divisors only up to √n.
- Composite numbers from 1 to n = n − 1 − π(n).
Composite Numbers FAQs
What is the smallest composite number?
The smallest composite number is 4. Its positive factors are 1, 2 and 4.
Is 1 a composite number?
No. The number 1 is neither prime nor composite because it has only one positive factor.
Is every odd number composite?
No. Some odd numbers are prime, such as 3, 5 and 7. Odd numbers such as 9, 15 and 21 are composite.
How many factors does a composite number have?
A composite number has more than two positive factors. The exact count can be found from its prime factorisation using d(n) = (a₁ + 1)(a₂ + 1) ... (aₖ + 1).
Why is 2 not composite?
2 has exactly two positive factors, 1 and 2, so it is prime. It is the only even prime number.
How can 91 be shown to be composite?
Since 91 = 7 × 13, it has proper factors 7 and 13. Therefore, 91 is composite.
