Break a number into primes

See any number
as a tree of primes

Type a whole number and watch it split into primes. The page draws the factor tree, writes the factorization with exponents and counts the divisors, their sum and the totient.

Enter your figures and read the result

Any whole number from 2 to 1,000,000,000,000. The worked example is 360. Saved on this device only.

Loading Prime Factorization Visualizer. If nothing appears, turn on JavaScript.

What you get

Enrichment · STEM ExplorationsOpen to everyone · no sign-in

What you finish with
A worked-out result for your own entry (a headline figure, tiles, tables and a drawing where one helps), as a printout, a spreadsheet (.csv) or a saved file.
Who it is for
Students from upper elementary school to college learning factors, multiples, greatest common divisors and number theory, and the teachers who plan those lessons.
Format
Browser tool for a phone, tablet or computer: type or paste, the result updates as you type. Print, spreadsheet (.csv), save to a file and open it again.
Access
Open to everyone with the link: no account, no sign-in, nothing to buy and nothing to install. Everything you type stays in this browser; nothing is sent to Caveat.
Where it lives
The STEM Explorations space in Caveat Enrichment.
Support
Questions about access, an order or a correction: team@caveatacademic.com.

How to use it

  1. Load the worked example to see how it reads, or start with your own entry.
  2. Type or paste into the fields; the result updates as you type.
  3. Read the headline, the tiles and the tables.
  4. Try a second case from the buttons above the fields.
  5. Print the result, download a spreadsheet or save the entry to a file.

Factor a number

How it works

The worked example from 360 to its prime powers.

Counting divisors from the exponents

For 360 = 2^3 x 3^2 x 5 each divisor chooses a power of 2 from 0 to 3, a power of 3 from 0 to 2 and a power of 5 from 0 to 1. That is 4 x 3 x 2 = 24 divisors, with no need to list them.

Use in school mathematics

Prime factorizations give the greatest common divisor (the smallest power of each shared prime) and the least common multiple (the largest power of each prime), and they explain simplifying fractions.

Sources

  1. Hardy, G. H., & Wright, E. M. An Introduction to the Theory of Numbers, Oxford University Press, chapter 2, the fundamental theorem of arithmetic and divisor functions.
  2. Rosen, K. H. Elementary Number Theory and Its Applications, Pearson, chapters on divisibility and arithmetic functions. Values for 360 were checked independently.

The worked examples are invented for illustration. What you type is saved only in this browser and is never sent to Caveat. Support: team@caveatacademic.com.

Written with AI, then checked before it is published. How we checkFound a mistake? Report it and we fix it, or refund you.Cancel anytime.