{{searchResults.length}} {{searchResults.length === 1 ? 'result' : 'results'}} for “{{searchWords}}”No results found for “{{searchWords}}”× back to contents
Find the number of positive integers with three not necessarily distinct digits, $abc$, with $a \neq 0$ and $c \neq 0$ such that both $abc$ and $cba$ are multiples of $4$.
A number is divisible by $4$ exactly when its last two digits are. So we need $4\mid\overline{bc}$ and $4\mid\overline{ba}$, i.e.\ $10b+c\equiv10b+a\equiv0\pmod4$.
Then $a$ and $c$ are even and nonzero, so $a,c\in\{2,4,6,8\}$, and $a\equiv c\pmod 4$. If $b$ is even, $c\equiv0\pmod4$, so $a,c\in\{4,8\}$; if $b$ is odd, $c\equiv2\pmod4$, so $a,c\in\{2,6\}$.
Each case gives $5\cdot2\cdot2=20$ numbers, $40$ in all.
Find the number of positive integers with three not necessarily distinct digits, $abc$, with $a \neq 0$ and $c \neq 0$ such that both $abc$ and $cba$ are multiples of $6$.