Math home
In general, if you have the following equation where p,q,r,s,a,b are known integers are x and n are unknown integers then put xn-a = a and xb = b and thus xn-a+b = ab and then solve.
qxn-a + rxb + s = pxn-a+b
Next