So what is it returning if I enter, say, 2?

What does the 1 represent, and why would I have a problem if it's returning something other than 1, if the while loop is testing for everything other than 1?