30 (mod 2)
30mod2 = 0 because 30 divided by 2 = 15 with zero left over.
With modular arithmetic you only care about the remainder.