#include <bits/stdc++.h>
#include <string>
#include <vector>
#include <map>
#include <set>
using namespace std;
int mod = 1e9 + 7;
const int N = 300005;

int main()
{
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  long long z;
  cin >> z;
  //z = 1;
  while (z--)
  {
    long long int i, j, k, l = 0, r = 0, m, x, y, z, s1 = 0, s2 = 0,
                           s3 = 0, s5 = 0, s6 = 0, s4 = 0, p1 = 0, p2 = 0,
                           p3 = 0, ans = 0, mid = 0, n;
    set<long long int> s;
    map<long long int, long long int> b;
    cin >> n;
    for (i = 0; i < 2 * n; i++)
    {
      cin >> x;
      s.insert(x);
      ++b[x];
      if (b[x] == 2)
        ++s1;
    }
    if (s.size() != n || s1 != n)
    {
      cout << "NO"
           << "\n";
    }
    else
    {
      bool p = true;
      long long int a[n];
      set<long long int>::iterator it;
      i = 0;
      for (it = s.begin(); it != s.end(); it++)
      {
        a[i] = *it;
        ++i;
      }
      s1 = 0;
      for (i = n - 1; i >= 0; i--)
      {
        a[i] -= s1;
        if (a[i] > 0 && a[i] % (2 * (i + 1)) == 0)
        {
          a[i] /= (2 * (i + 1));
          s1 += 2 * a[i];
        }
        else
        {

          p = false;
          break;
        }
      }
      if (p)
        cout << "YES"
             << "\n";
      else
        cout << "NO"
             << "\n";
    }
  }
}
