#include <bits/stdc++.h>
using namespace std;
const long double pi = 3.1415926535897932384626433;
const long long M = 998244353;
long long t, n, x, y, p, k, g, f;
int main() {
  ios_base::sync_with_stdio(0);
  cin.tie(0);
  cout.tie(0);
  ;
  cin >> t;
  while (t--) {
    cin >> n >> x >> y;
    p = y - x;
    k = 1e18;
    for (long long i = 1; i <= p; i++) {
      if (p % i == 0 && x + (n - 1) * i >= y) {
        f = y % i;
        if (f == 0) f = i;
        if (k > max(f + i * (n - 1), y)) {
          k = max(f + i * (n - 1), y);
          g = i;
        }
      }
    }
    for (long long i = 0; i < n; i++) cout << k - i * g << " ";
    cout << "\n";
  }
}
