Given these equations

Given these equations, what is the answer to the last one?
5 3 2 = 151012
9 2 4 = 183662
8 6 3 = 482466
5 4 5 = 202504
7 2 5 = ?

Answer:

f(x,y,z) = 10000*(x*y) + 100*(x*z) + transpose_digits(x*y + y*z)

transpose_digits() just swaps the digits

143542

Leave a Reply