In how many positive four-digit integers that are not multiples of 1111 do the digits form an arithmetic sequence from left to right?
The answer is 6.
Thanks for the help but its wrong
(1234, 1357, 2345, 2468, 3456, 3579, 4567, 5678, 6789)==9 such numbers