The modulus operator provides a way to test if a particular number is even or odd. However, if you know you need to start from 1, and if you're allowed to know that The starting number is guaranteed to be odd, then you need a rule for computing the next odd number from the previous odd number.