17 = 2 * 8 + 1 18 = 2 * 9 + 0 500 = 9 * 55 + 5 55 = 50 * 1 + 5