t = int(input()) for i in range(t): n, x = map(int,input().split()) if x-(n*(n-1) //2) < n: print(-1) continue else: if n > 1: for j in range(1,n): print(j,end=" ") print(x-(j*(j+1))//2) else: print(x)