Prime Numbers & Factors Math · Noduly
Lesson

The atoms of arithmetic

Every whole number above 1 either is prime, or splits into a product of primes in exactly one way. Once you can spot primes and factor at sight, simplifying fractions and finding common denominators becomes routine.

Prime numbers

A prime is a whole number greater than 1 with exactly two positive divisors: 1 and itself. The first few are 2, 3, 5, 7, 11, 13.

2 is the only even prime. 1 is not prime — it has only one divisor.

Composite numbers

A composite number has more than two positive divisors. 6 is composite (1, 2, 3, 6). Every composite breaks down into primes.

12 = 2 × 2 × 3 = 2² × 3.

Factors and multiples

A factor divides evenly into a number. A multiple is what you get by multiplying. Factors of 12: 1, 2, 3, 4, 6, 12. Multiples of 4: 4, 8, 12, 16…

GCF and LCM

The greatest common factor of two numbers is the largest factor they share. The least common multiple is the smallest multiple they share.

GCF(12, 18) = 6 · LCM(12, 18) = 36 · GCF × LCM = 12 × 18.

Divisibility shortcuts

By 2
last digit even
By 3
digit sum ÷ 3
By 4
last two digits ÷ 4
By 5
last digit 0 or 5
By 6
div by 2 and 3
By 9
digit sum ÷ 9
By 10
last digit 0
By 11
alternating sum ÷ 11

Hands-on tools

Run the sieve, build a factor tree, or test any number against the divisibility rules.

Sieve of Eratosthenes

Click Step to cross off the next prime's multiples. Or hit Auto to sweep.

Primes found 0 Current p

Click "Step" to begin. Numbers in orange are confirmed primes.

Factor tree

Type any whole number from 2 to 9999 — see it shatter into primes.

2³ × 3² × 5

GCF and LCM via Venn diagram

Each circle shows one number's prime factors. The overlap is the GCF; the whole picture is the LCM.

GCF
12
LCM
72

Divisibility tester

Type a number — see which divisibility rules pass and why.

Quiz

Score 0/0 Streak 🔥 0 Best 0

Flashcards

Tap a card to flip. ← / → keys to navigate.

Prime
PrimeWhole number > 1 with exactly two divisors: 1 and itself.
1 / 20

Daily challenge

A new problem every day. Same problem for everyone, worldwide. Build a streak — one shot per day.

For teachers

Print-ready worksheet, answer key, teaching tips and standards alignment.

Teaching tips

    Standards alignment

      Reference

      Formula sheet plus a Wikipedia gallery.

      Key facts

      Smallest prime
      2 (only even prime)
      Primes < 50
      2,3,5,7,11,13,17,19,23,29,31,37,41,43,47
      FTA
      Every n > 1 has a unique prime factorization
      GCF × LCM
      GCF(a,b) × LCM(a,b) = a × b
      Number of factors
      ∏(aᵢ + 1) for n = ∏ pᵢ^aᵢ
      Twin primes
      Differ by 2: (3,5), (5,7), (11,13)…
      Coprime
      GCF(a, b) = 1
      Euclid
      There are infinitely many primes

      Photo gallery

      Images sourced from Wikipedia.

      Report an issue or share feedback

      We read every submission. Critical bugs get priority.