Quote Originally Posted by MK27
That's just my ignorance of math -- a set in math starts with an index of 1, not 0, right?
It depends on the convention. Your output is perfectly fine. After all, you did not specify exactly what the program was supposed to do, so leaving out 0 is acceptable.