#include <bits/stdc++.h>
using namespace std;
#pragma GCC target("avx2")
#pragma GCC optimize("Ofast")
#pragma GCC optimize("unroll-loops")
#pragma GCC target("avx,avx2,fma")
#pragma GCC optimize("03")
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  int t;
  cin >> t;
  while (t--) {
    int n;
    cin >> n;
    int x, y;
    cin >> x >> y;
    if (n == 2) {
      cout << x << ' ' << y << '\n';
      continue;
    }
    n--;
    int z = y - x;
    if (z % n == 0) {
      int cnt = x;
      cout << cnt << ' ';
      for (int i = 1; i <= n; i++) {
        cnt += (z / n);
        cout << cnt << ' ';
      }
      cout << '\n';
    } else {
      int col = 0;
      for (; n >= 1 && z % n != 0; n--) {
        col++;
      }
      int s = z / n;
      n += col;
      int cnt = x - (s * col);
      while (cnt < 1) {
        cnt += s;
      }
      cout << cnt << ' ';
      for (int i = 1; i <= n; i++) {
        cnt += s;
        cout << cnt << ' ';
      }
      cout << '\n';
    }
  }
}
