solve 3^y = 925 + 1387x over the integers