For example, if the last digit is even (0, 2, 4, 6 or 8), then 2 is a divisor. If the last digit is 0 or 5, then 5 is a divisor. If the digits add up to a multiple of 3, then 3 is a divisor. For the number 340, ending in "0" then both 2 and 5 are divisors, plus 2×5 = 10 is also a divisor. Dividing by 10, 340/10 = 34, as finally 2×17. Combining all the smaller numbers, the 12 divisors of 340 are: