Given a series 9, 33, 73, 129... Find the N-th term of the series.
The first line of input contains an integer T denoting the number of test cases. Then T test cases follow. Each test case contains a number N as input.
For each test case, print Nth number of series in new line.
1 <= T <= 104
1 <= N < 109
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.