If the first of these three digits is even, the number is divisible by 8 if the last two digits are divisible by 8.
If the first of these three digits is odd, subtract 4 from the last two digits; the number will be divisible by 8 if the resulting last two digits are.
Example
Notes
Divisible by 8?
464
The first of last three digits is even − the last two digits 64 are divisible by 8.
Yes
2852
The first of last three digits is even − the last two digits 52 are NOT divisible by 8.
No
44760
The first of last three digits is odd − subtract 4 from 60 to give 56 which is divisible by 8.