#include <bits/stdc++.h>
using namespace std;
int main() {
  int t;
  cin >> t;
  while (t--) {
    long long int n, x, y;
    cin >> n >> x >> y;
    int dup = x;
    long long int gap = 0;
    int count1 = 0;
    for (int i = 2; i <= n - 1; i++) {
      if ((y - x) % i == 0) {
        gap = (y - x) / i;
        count1 = i - 1;
      }
    }
    if (gap == 0) {
      gap = y - x;
      count1 = 0;
    }
    int count = n - 2 - count1;
    while (count && (dup - gap) > 0) {
      cout << dup - gap << " ";
      dup = dup - gap;
      count--;
    }
    cout << x << " ";
    while (count1) {
      cout << x + gap << " ";
      x = x + gap;
      count1--;
    }
    cout << y << " ";
    while (count) {
      cout << y + gap << " ";
      y = y + gap;
      count--;
    }
    cout << endl;
  }
  return 0;
}
