Problem #PRU-100223

Problems Algebra and arithmetics Number theory. Divisibility Divisibility rules

Problem

Prove the following divisibility rule by 37: divide the number starting from the right end of the number into blocks of three digits. Now, the original number is divisible by 37 if the sum of all three digit numbers obtained in this way is divisible by 37.

(It might be the case that the number of digits is not divisible by 3, and you cannot divide the original number into blocks of three digits. To overcome this problem we allow a block of three digits to start from 0, for example number 2345678 should be divided into blocks of three digits as 002, 345, and 678.)