#include <bits/stdc++.h>
using namespace std;
int main() {
  ios::sync_with_stdio(false);
  cin.tie(0);
  cout.tie(0);
  int t;
  cin >> t;
  while (t--) {
    int n, x, y;
    cin >> n >> x >> y;
    int dif = y - x;
    int minb = 1e9;
    for (int i = 1; i * i <= dif; ++i) {
      if (dif % i != 0) continue;
      if (dif / i + 1 <= n) {
        minb = min(minb, i);
      }
      if (i + 1 <= n) {
        minb = min(minb, dif / i);
      }
    }
    if (y - minb * (n - 1) > 0) {
      int res = y - minb * (n - 1);
      for (int i = 1; i <= n; ++i) {
        cout << res;
        if (i < n) cout << ' ';
        res += minb;
      }
      cout << endl;
    } else {
      int cnt = (y - 1) / minb;
      int res = y - cnt * minb;
      for (int i = 1; i <= n; ++i) {
        cout << res;
        if (i < n) cout << ' ';
        res += minb;
      }
      cout << endl;
    }
  }
  return 0;
}
