Arthur D. answered 11/06/14
Tutor
4.9
(285)
Forty Year Educator: Classroom, Summer School, Substitute, Tutor
Philip, I tried to post a comment but it would not post, so I'm posting it here.
You only have to divide by the prime numbers less than or equal to √n, not all the numbers.
Example: √731=27.037
You only have to divide by 23,19,17,13,11,7,5, and 3.
You don't have to divide by 26,24,22,20,18,16,14,12,10,8,6,4, and 2 because they are even numbers.
You don't have to divide by 25 (5*5), 21 (3*7), 15 (3*5), and 9 (3*3) because we are already checking for divisibility by
3,5, and 7. You only have to check for divisibility by 8 numbers instead of 26 numbers.
Also, I know the directions were to use the square root theorem, but the student, knowing the rules for divisibility, should realize that 117 is divisible by 3 and by 9 because 1+1+7=9
Arthur D.
11/06/14