Back to Discover
Spark

Factor Race

Factor pairs always straddle √n, so checking only up to √n — and only at prime candidates — finds every prime factor.

Before you enter

A complete interactive classroom, not just a preview.

Start when you are ready to enter this Stage's 4 scenes and explore, respond, and learn as you go.

4
Scenes
8 min
Estimated
Content language: en-US
Start this Stage
Sign-in may be required to play
What happens inside
  1. 01The 60 Duelslide
    Slot 1Hook

    Player A tests every number from 2 to 59 to break 60 into primes. Player B quits after testing only a handful. The buzzer sounds and Player B's board is complete.

    • Goal: split 60 into prime factors
    • Player A tests 2, 3, 4, 5, … all the way up
    • Player B stops early and still wins — but how?
    Phenomenon

    Two players race to prime-factor 60; the winner checked barely half the numbers the loser did.

    Question

    How can the faster player be sure no prime factor was skipped?

  2. 02How Far Up Must You Check?slide
    Slot 2Tension

    Predict the shortest search range that still guarantees a complete prime factorization of 97. The number is prime — so where is the safe stopping point?

    • New target: the prime number 97
    • Most players assume you must test all 96 numbers below it
    • A much shorter trip is enough — name the limit
    Prediction

    What is the smallest range of trial divisors that fully factors 97?

    Tempting intuition

    Most players assume you must test every integer from 2 up to n−1.

  3. 03Factor Pair Arenainteractive
    Slot 3Reveal

    Set n and the search limit, then watch factor pairs pop up as matching dots symmetric about √n. The slider proves that once the limit crosses √n, no new factor can appear.

    • Factors always arrive in pairs: d × (n/d)
    • The smaller partner of every pair sits at or below √n
    • So √n is a complete checkpoint for the race
    Evidence

    Interactive number line where factor pairs light up as matching dots symmetric about √n, and the search-limit marker sweeps left to right.

    Conclusion

    Stop the trial-division search at √n and you cannot miss a prime factor — Player B's shortcut is safe.

    Mechanism
    1. 1If d divides n, then n/d also divides n — factors come in pairs
    2. 2For any pair, the smaller member is ≤ √n and the larger is ≥ √n
    3. 3Testing only the small partners up to √n already covers every factor
  4. 04Win the Round: Factor 132slide
    Slot 4Takeaway

    Apply the √n rule as Player B against a fresh opponent: factor 132 using only prime trial divisors up to its square root, and show the factor tree closing out early.

    • New round, new target: 132
    • Check primes only, stop once p × p > 132
    • Factor tree lands on 2 × 2 × 3 × 11
    Transfer

    Now that factor pairs straddle √n, run the race again on 132 using only prime trial divisors up to its square root.

    Expected inference

    132 splits into 2 × 2 × 3 × 11, and no trial divisor above 11 was ever needed.

Discussion

Discussion threads for a Stage aren't available yet.

Where this leads
Other versions of this lesson
Explore more

More in Math & Logic

See all