Concept stop · What is it?

The Fundamental Theorem of Arithmetic

In the Chinese book: 算术基本定理

Each integer above 1 has one prime barcode: gcd takes min, lcm takes max.

📖 §1.4 of 《整除、同余与不定方程》M13 Prime Factor Analysis line

Before this stop, visit:Greatest Common Divisor and Least Common Multiple (Skill)

Hands first, words secondUse − and + to change the exponent of each prime. In each group, what do the lower bars build? And the higher ones?

Loading figure…

Try this

  1. Each press of multiplies the number by that prime. Try setting to , then to . Can two different sets of exponents give the same number?
  2. Click “gcd: take the lower”. Under each prime, which blocks of which bar are filled in? Multiplied together, they give .
  3. Click “lcm: take the higher”. What is filled in now?
  4. Look at the two products on the right: and are always equal. Why, judging from the bars? (In each group, lower plus higher equals the two bars added together.)
  5. Make every bar of no taller than the matching bar of . What is now? How are and related?

Fundamental Theorem of Arithmetic Every integer greater than can be written as a product of primes, and apart from the order of the prime factors, there is only one way to do it.

Collect equal primes together and you get the prime factorization . That string of exponents is the number's one-of-a-kind barcode. So:

Taking the for the gcd and the for the lcm both follow directly from this one statement.

Predict first

. How many positive divisors does it have?

Choose an answer first; then you can see the result.

Why

How many divisors does 72 have?

Step 1 / 5
Loading figure…
  1. What the divisors look like

    . Its divisors can only contain the prime factors and , and the exponents cannot go over: with and .

Remove one condition

“There is only one way to write it” sounds obvious. In fact it depends on multiplying within all the positive integers.

Break it

Counterexample lab: remove one condition

Conclusion: breaking a number into numbers that “cannot be split further” gives only one result

In the ordinary positive integers, however you break up , at the bottom you always get . In the divisor lattice, every path from up to uses the same number of lines of each of the three kinds.

Loading figure…

Practice

Exercise 1Basic

. Find .

Exercise 2Basic

How many positive divisors does have?

Exercise 3Advanced

What is the smallest positive integer with exactly positive divisors?

Exercise 4Challenge

Find the smallest positive integer such that is a perfect cube.

Mistake Museum · Exhibits from this stop

Before you leave, look at the traps other people fell into here.See every exhibit in the museum →

Exhibit

Adding the “exponent plus one” numbers to count divisors

The wrong step: , so the number of divisors is .
What went wrong? Think first, then open

Diagnosis Choosing a divisor means making two independent decisions: the exponent of is one of , and the exponent of is one of . Every combination gives a different divisor, so you multiply.

The right step: There are : .

“Decisions made in steps multiply”

Exhibit

Taking the lcm to be the product

The wrong step: .
What went wrong? Think first, then open

Diagnosis and . A common multiple only needs the higher exponent of each prime: . The product counts both bars, so it has an extra factor of .

The right step: , and . Only for two coprime numbers is the lcm equal to the product.

“The lcm takes the higher bar, not both”