Print the nth row of Pascal’s triangle.
Example:
Pascal_triangle(2) = [1, 1]
You are given an integer N. Your task is to calculate three sums S1, S2, S3, such that:
S1 is the sum of first N positive integers
S2 is the sum of first N positive odd integers