what is the sum of all 4 digit integers formed using the digits 2 , 3 , 4 and 5 ( repetition is allowed )
n = 4 * 4 * 4 * 4 = 256 < x > = ( 5555 + 2222 ) / 2 = 3888.5 sum = number of integers x average value n * < x > = 256 * 3888.5 = 711040 answer = d
multiply(multiply(power(4, const_3), add(add(add(5, 4), 3), 2)), add(add(add(multiply(const_100, const_10), const_100), const_10), const_1))