Skip to content
Calcrivo

Composite Number Checker

Determine whether a number is composite and show its smallest factor.

Inputs

Positive integer to test.

Is Composite?

Yes

Smallest Prime Factor

7

Factor Pair

7 × 13

Step by step

  1. Found divisor

    91 ÷ 7 = 13

  2. Conclusion

    = 91 is composite

How it works

A composite number is a positive integer greater than 1 that has at least one positive divisor other than 1 and itself. In other words, it is not prime. The number 1 is special: it is defined as neither prime nor composite. Every composite number can be expressed as a product of primes (the Fundamental Theorem of Arithmetic).

Formula

Composite definition

n is composite if there exists d where 1 < d < n and d | n

n
Number to test
d
Divisor

Frequently Asked Questions

Is 1 composite?

No. By mathematical convention, 1 is neither prime nor composite. The classification starts at 2.

What is the difference between prime and composite?

A prime has exactly two distinct positive divisors (1 and itself). A composite has more than two — meaning it can be divided evenly by at least one number other than 1 and itself.

You might also need