Problem 1 using naive modulus within a loop