Printing a generated sequence of numbers in a specified columnate format