what is the sum of all 3 digit nos formed by { 1 , 3,5 , 7,9 } with nos not repeated
"here 3 digit no . can be formed in 5 * 4 * 3 = 60 . thus we hv to find the sum of 60 nos . now 60 / 5 = 12 ; we hv 12 no ' s . starting with 1 , 12 no ' s . with 3,5 , 7,9 . . . . so 12 * 100 * ( 1 + 3 + 5 + 7 + 9 ) + 12 * 10 * ( 1 + 3 + 5 + 7 + 9 ) + 12 * 1 * ( 1 + 3 + 5 + 7 + 9 ) = 30000 + 3000 + 300 = 33300 answer : a"
multiply(divide(add(divide(subtract(subtract(const_1000, 3), add(add(multiply(multiply(3, 3), const_10), multiply(3, 3)), 3)), 3,5), const_1), 1), add(subtract(const_1000, 3), add(add(multiply(multiply(3, 3), const_10), multiply(3, 3)), 3)))