The polynomials ax3+3x2−3 and 2x3−5x+a, when divided by x - 4 leave the same remainder in each case. Find the value of a.
If the polynomials ax3+3x2 - 13 and 2x3 - 5x + a, when divided by (x-2), leave the same remainders, find the value of a.