generate numbers to iterate through