Problem 1
Write a program that takes a number n from the command line, and print a vector on the screen in the form of 1, 2, 2, 3, 3, 3, 4, 4, 4, 4, ... , where n determines the length and values
of the last series of sequence in the vector.
Example:
Input: n = 3
Output: [1 2 2 3 3 3]