#include using namespace std; int main() { cin.tie(nullptr); ios::sync_with_stdio(false); unsigned int T, N, i, j; unsigned long long X; cin >> T; for (i = 0; i != T; ++i) { cin >> N >> X; if (N * static_cast(N + 1) / 2 > X) cout << "-1\n"; else { for (j = 1; j != N; ++j) cout << j << ' '; cout << N + (X - N * static_cast(N + 1) / 2) << '\n'; } } return 0; }