a^2 * b^3 = 1323
= 27 * 49
=3^3 * 7^2
by equating the two, a=7 and b=3
I got this by knowing I needed a cube and a square, so I guess I technically trial and error-ed it. Sometimes you can do this in math, you just need to know what to look for, and...