Problem #PRU-30611

Problems Algebra and arithmetic Number systems Decimal number system Number theory. Divisibility Divisibility rules Divisibility tests for 2 and 4

Problem

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.