def sigma(num): return num * (num + 1) // 2 def solve(): N, X = map(int, input().split()) if sigma(N) > X: print(-1) return ans_list = [] for i in range(N): ans = N - i + (X - sigma(N)) // N if i < (X - sigma(N)) % N: ans += 1 ans_list.append(ans) print(*ans_list) T = int(input()) for _ in range(T): solve()