[UVA] 11879 - Multiple of 17
Multiple of 17
Theorem: If you drop the last digit d of an integer n (n10), subtract 5d from the remaining integer, then the
difference is a multiple of 17 if and only if n is a multiple of 17.
For example, 34 is a multiple of 17, because 3-20=-17 is a...