Every Wednesday during the live finals.
Chat with our AI personalities
You can create an array with some elements, get the factors of a number (such as 16), and while you get each of the factors, place the factors in the array. Every time you find a factor, divide the number by this factor before you search the next factor (to avoid getting the same factor over and over again).
99 33,3 11,3,3
36 18,2 9,2,2 3,3,2,2
The factor tree would be hard to show so here is the prime factorization.41 times 5
450 225,2 75,3,2 25,3,3,2 5,5,3,3,2