12*m + (2m+1) + 45 = 862