#include using namespace std; using ll = long long; template ostream& operator << (ostream& os, const vector& vec) { if(vec.empty()) return os; os << vec[0]; for(auto it = vec.begin(); ++it != vec.end(); ) os << ' ' << *it; return os; } int main(){ ios::sync_with_stdio(false); cin.tie(0); int T; cin >> T; while(T--){ ll n, x; cin >> n >> x; if(n * (n + 1) / 2 <= x){ vector ans(n); iota(ans.begin(), ans.end(), 1); ans.back() = x - n * (n - 1) / 2; cout << ans << '\n'; }else{ cout << -1 << '\n'; } } }