there are 27 different 3 - digit integers that can be formed using only the digits 3 , 4 and 5 . if all 27 of the integers were listed , what would their sum be ?
there must be nine 3 ' s in the hundreds place , nine 3 ' s in the tens place , and nine 3 ' s in the units place . this is also true for the 4 ' s and 5 ' s . then the sum is : 9 ( 333 + 444 + 555 ) = 9 * ( 1332 ) = 11,988 . the answer is b .
subtract(reminder(add(multiply(multiply(multiply(3, 3), add(add(3, 4), 5)), const_100), add(multiply(multiply(3, 3), add(add(3, 4), 5)), multiply(multiply(multiply(3, 3), add(add(3, 4), 5)), const_10))), const_1000), const_100)