A given series 3, 5, 9, 11, 15, 21, 29, ... and so on. You need to identify the pattern and determine whether the input number ( n ) is a part of the given series or not.
The first line of the input contains a single integer T denoting the number of test cases.
The first line of each test case contains n.
For each test case, Print Yes, if n is a part of the given series or else No.
1 <= T <= 200
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.