Since the last digit of 582 is even, 582 is divisible by 2.