Take the last digit and double it. Subtract this from the remaining digits. If the result is a multiple of 7, the whole number is.