Given a number N, find the Nth term in the series 1, 3, 6, 10, 15, 21…
The first line of input contains a positive integer T denoting the number of testcases. For each test case, there will be a single line containing an integer N.
For each testcase, print the Nth term.
1 <= T <= 100
1 <= N <= 1000
If you have purchased any course from GeeksforGeeks then please ask your doubt on course discussion forum. You will get quick replies from GFG Moderators there.