I just started working through Algebra Demystified and there's a section for learning how to factor a number into it's prime factors. The description says...
To factor a number into its prime factors (those which have no divisors other than themselves and 1), start with a list of prime numbers. Begin with the smallest prime number and keep dividing the prime numbers into the number to be factored. Stop dividing when the square of the prime number is larger than the number.
In one of the examples given they ask you to give the prime factors of 166. The solution they provide is 2, 7 and 11. I don't understand how they got these numbers. I googled factoring a number into prime factors and kept seeing factor trees which for 166 would give me 2 and 83. Using the book instructions should give me 2, 3, 5, 7, and 11 if I'm understanding it correctly.
Shouldn't the factors go evenly into the final number? If so, that would be 2 and 83.
And how does squaring the prime factor cause you to stop? If the prime factors of 166 are 2 and 83, I don't understand how squaring works into the equation. Thanks.