Problems

Age
Difficulty
Found: 3

Prove that: \[a_1 a_2 a_3 \cdots a_{n-1}a_n \times 10^3 \equiv a_{n-1} a_n \times 10^3 \pmod4,\] where \(n\) is a natural number and \(a_i\) for \(i=1,2,\ldots, n\) are the digits of some number.

How many different four-digit numbers, divisible by 4, can be made up of the digits 1, 2, 3 and 4,

a) if each number can occur only once?

b) if each number can occur several times?