40
20,2
10,2,2
5,2,2,2
40 20,2 10,2,2 5,2,2,2
40 20,2 10,2,2 5,2,2,2
1997 is already prime; no tree.
Prime factorization of 40 = 2x2x2x5 Prime factorization of 100 = 2x2x5x5
51 3,17
350=2x5x5x7
33 11,3
a prime factorization tree
50 25,2 5,5,2
97 is already prime; no tree.
131 is already prime. No tree.
141 = 3 x 47