Is 9 a Prime Number?

NO — COMPOSITE NUMBER

No, 9 is not a prime number. It is a composite number divisible by 3 (9 = 3 × 3), with prime factorization 3².

Prime Factorization
3²
Positive Divisors
3
Previous Prime
Next Prime

Step-by-Step Proof: Why 9 Is Not Prime

  1. 1

    Compute the square-root bound: ⌊√9⌋ = 3. If 9 is composite, at least one prime ≤ 3 must divide it.

  2. 2

    Testing primes in ascending order immediately finds a witness divisor: 9 ÷ 3 = 3 with remainder 0.

  3. 3

    Since 3 divides 9 evenly (1 < 3 < 9), 9 has more than two positive divisors (3 in total) and its complete prime factorization is 9 = 3².

Prime Factorization & All Factors of 9

Open 9 in Visual Factor Tree →

9 has 3 positive divisors with divisor sum σ(9) = 13 and aliquot sum s(9) = 4 (Deficient number).

1 3 9

Division Ladder

1. 9 ÷ 3 = 3
2. 3 ÷ 3 = 1

Mathematical Properties & Number Bases of 9

Semiprime Perfect Square (3²)
Parity
Odd
Aliquot Class
Deficient number
Twin Prime
No
Binary (Base 2)
1001
Octal (Base 8)
11
Hexadecimal (Base 16)
0x9

Test Another Number Instantly

Enter any integer (including 100+ digit BigInt numbers) to test primality in our full Prime Number Checker.

Frequently Asked Questions About 9

Is 9 a prime number or a composite number?

No, 9 is not a prime number. It is a composite number divisible by 3 (9 = 3 × 3), with prime factorization 3².

What are all the positive factors (divisors) of 9?

The 3 positive divisors of 9 are: 1, 3, 9. Their sum is σ(9) = 13.

What is the prime factorization of 9?

The prime factorization of 9 is 3² (3^2).

What are the closest prime numbers before and after 9?

The previous prime before 9 is 7, and the next prime after 9 is 11.

← Previous curated number: 7 Next curated number: 11 →

Prime Number Tools & Reference Guides

Explore dedicated charts, visual factor trees, range generators, and step-by-step proofs for commonly searched numbers.