#include <bits/stdc++.h>   using namespace std;   int main() {     ios_base::sync_with_stdio(false);     cin.tie(NULL);     int t;     cin >> t;     unsigned long long dp[1000000];     unsigned long long ans = 0;     for (long long i = 1; i <= 500000; i += 2) {       long long val = (i * i - (i - 2) * (i - 2)) * (i / 2);       ans = ans + val;       dp[i] = ans;     }     while (t--) {       long n;       cin >> n;       cout << dp[n] <<   n ;     }     return 0;   }   