h is a positive integer and 225 and 216 are both divisors of h . if h = ( 2 ^ a ) * ( 3 ^ b ) * ( 5 ^ c ) , where a , b and c are positive integers , what is the least possible value of a + b + c ?
lets make factorization of 225 and 216 . . 225 = 5 x 5 x 3 x 3 x 3 216 = 2 x 2 x 2 x 3 x 3 x 3 h would have to have 3 two ' s , 225 has 3 threes and and so does 216 but they can be the same three threes so we count them only once . . . 225 has 2 fives . . . so we had them together and we get 3 + 3 + 2 = 8 ( b ) ( answer ) . . .
add(add(3, 3), 2)