If you have read the discussion on divisibility by 4, the proof for divisibility by 8 is somewhat similar. To know that the number is divisible by 4, we just have to look at the last two digits. In divisibility by 8, we look at the last three digits. For example, the number 10938648 is divisible by 8 because the last three digits which is 648 is divisible by 8.

Notice that number with digits can be expanded as

or

.

Now, since 1000 is divisible by 8, any multiples of 1000 are divisible by 8. Since any integer can be represented as

.

Don’t be intimidated, this is just a generalization of the decimal expansion above.

Now, all integral powers of 10 that are equal to 3 or greater are multiples of 1000, so, we only have to check

which is the last three digits of any positive integer.

That is the reason, why we only need to check the three digits of any integer and see if it is divisible by 8.