Gradient

Courses

∇\nabla∇The maths behind AI0/72
π\piπMaths0/84
⋆\star⋆AI for everyone0/10
Γ\GammaΓGame theory0/49
py\texttt{py}pyPython for AI0/15
y^\hat{y}y^​Build your own AI0/15
All courses

Tuition

My tuition

Practice

ProjectsAsk a questionTrain on a GPUExplorationsMaths StoriesUnsolved problemsPlaygroundScience labs

Reference

GlossaryBlogDiscoveries
Differences › Maths

Prime numbers vs Composite numbers

A prime has exactly two factors; a composite number has more than two.

Prime numbers

A whole number greater than 1 whose only factors are 1 and itself.

Composite numbers

A whole number greater than 1 with at least one other factor.

Prime numbers compared with Composite numbers
Prime numbersComposite numbers
FactorsExactly 23 or more
Examples2, 3, 5, 7, 11, 134, 6, 8, 9, 10, 12
Even membersOnly 2Every even number from 4
What about 1?Not primeNot composite either

Example

91 looks prime but is 7 × 13, so it is composite. 97 has no factor up to √97 ≈ 9.8, so it is prime.

Try it or learn more

  • Prime factorisation calculator
  • Divisibility checker

More differences

  • Mean vs Median
  • Permutation vs Combination
  • Rational numbers vs Irrational numbers
  • Area vs Perimeter
  • sin θ vs cos θ