{{searchResults.length}} {{searchResults.length === 1 ? 'result' : 'results'}} for “{{searchWords}}”No results found for “{{searchWords}}”× back to contents
How many four-digit numbers are composed of four distinct digits that, in some order, form an arithmetic sequence? (For example, $7153$ is such a number, because its digits can be arranged as $1,3,5,7$.)
First count the sets of digits. A set is $\{a,\ a+r,\ a+2r,\ a+3r\}$ with $r\ge1$ and $a+3r\le9$.
For $r=1$, $a=0,\dots,6$ ($7$ sets); for $r=2$, $a=0,\dots,3$ ($4$ sets); for $r=3$, $a=0$ ($1$ set). That is $12$ sets.
The $3$ sets with $a=0$ contain the digit $0$. Each gives $4!-3!=18$ numbers, since $0$ cannot come first. The other $9$ sets give $4!=24$ numbers each.
So the answer is $9\cdot24+3\cdot18=216+54=\boxed{270}$.