Change i%x == 0 to 0 == i%x