What is a Prime and Composite Number? Learn with Examples

Definition of a Prime Number with Examples

A Prime number is a number that can only be divided by 1 or itself.

Example: 2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41

All the numbers mentioned in the example above cannot be divided by any number (except 1 or the number itself).

Definition of a Composite Number with Examples

Composite numbers are those numbers that can be divided by other numbers (and not just with 1 or number itself)

Example:  4, 6, 8, 9, 10, 12, 14, 15, 16, 18

Explanation: 4 can be divided by 2, in the same way, 6 can be divided by 2 and 3.

I hope this clarifies the doubt.