Pronic number is a number which is the product of two consecutive integers. The task is to check and print Pronic Numbers in a range. The first few Pronic numbers are: 0, 2, 6, 12, 20, 30, 42, 56, 72, 90, 110, 132 and so on.
The first line consists of an integer T i.e number of test cases. The first and only line of each test case contains an integer n.
Print all the pronic numbers between 0 and n(with spaces in between).
1<=T<=100
1<=n<=1000
2
6
56
0 2 6
0 2 6 12 20 30 42 56