#include <bits/stdc++.h>

using namespace std;

#define ll long long
#define ull unsigned long long
#define pii pair<int,int>
#define tiii tuple<int,int,int>
#define pll pair<long long, long long>
#define pdd pair<double, double>
#define s second
#define f first
#define str string
#define pb push_back

int main() {
    ios_base::sync_with_stdio(false);
    cin.tie(NULL);


    int t; cin >> t;
    while (t--){
        ll n; cin >> n;
        vector<ll> v(2*n);
        for (ll i = 0; i < 2 * n; ++i) {
            cin >> v[i];
        }
        sort(v.rbegin(), v.rend());
        vector<ll> arr(n);
        if (v[0] % (2*n) != 0 || v[0] != v[1]){
            cout << "NO\n";
            continue;
        }
        arr[0] = v[0] / n;
        vector<ll> sum(n);
        sum[0] = arr[0];
        bool ans = true;
        for (ll i = 2; i < 2*n; i+=2) {
            ll k = v[i];
            k -= sum[i/2 - 1];
            if (k % (2*n-i) != 0 || k <= 0 || v[i] != v[i+1] || v[i] == v[i-1]){
                ans = false;
                break;
            }
            arr[i/2] = k / (n - i/2);
            sum[i/2] = sum[i/2-1] + arr[i/2];
        }
        if (ans) cout << "YES\n";
        else cout << "NO\n";
    }

    return 0;

}

