How do know if a number is divisible by 7?
There is no (generalized) short cut. Just do the division.