Ganitha Lokaಗಣಿತ ಲೋಕ ಅಕಾಡೆಮಿ

Prime factor tree

Enter a number and get its prime factor tree diagram, the prime factorisation in index form and the number of factors.

Loading the simulation…

How to use

  1. Enter a whole number up to 1 000 000.
  2. Press “Draw the tree”.
  3. The green leaves are the prime factors.

Formula

$n = p_1^{a_1} p_2^{a_2}\cdots \Rightarrow \text{number of factors} = (a_1+1)(a_2+1)\cdots$

Level: School (Classes 5–10) · Topic: Number theory

Frequently asked questions

What is a factor tree?

A diagram that splits a number into factors repeatedly until only primes remain.

Is the prime factorisation unique?

Yes — the Fundamental Theorem of Arithmetic.

Related tools

← All maths tools