the number 42 can be written as the sum of the squares of 3 different positive integers . what is the sum of these 3 integers ?
"i think brute force with some common sense should be used to solve this problem . write down all perfect squares less than 42 : 1 , 4 , 9 , 16 , 25 , 36 . now , 42 should be the sum of 3 of those 8 numbers . also to simplify a little bit trial and error , we can notice that as 42 is an odd numbers then either all three numbers must be odd ( odd + odd + odd = odd ) or two must be even and one odd ( even + even + odd = odd ) . we can find that 42 equals to 1 + 16 + 25 = 1 ^ 2 + 4 ^ 2 + 5 ^ 2 = 42 - - > 1 + 5 + 4 = 10 . answer : b ."
add(add(add(const_4, 3), add(3, const_2)), 3)