This program prints a sequence of numbers in the console