312 156,2 78,2,2 39,2,2,2 13,3,2,2,2
312 156,2 78,2,2 39,2,2,2 13,3,2,2,2
312 156,2 78,2,2 39,2,2,2 13,3,2,2,2
No, 166 is not a factor of 312.
77 7,11
15 3,5
1,270,2,135
312 / \ 104 3 / \ \ 52 2 3 / \ \ \ 26 2 2 3 / \ \ \ \ 13 2 2 2 3
23 is a prime number. No prime factorization. No tree.
13 is already prime. It doesn't need a tree.
188 94,2 47,2,2
75 25,3 5,5,3