def solve(N,X): ans = [i for i in range(1,N+1)] sa = sum(ans) if sa > X: print(-1) else: ans.reverse() add = X - sa d,m = add//N, add%N ans = [a+d for a in ans] for i in range(m): ans[i] += 1 print(*ans) T = int(input()) for _ in range(T): N,X = map(int,input().split()) solve(N,X)