#include using namespace std; long sumOfGroup(long k) { // Return the sum of the elements of the k'th group. long res=(k*k)-(k-1); long count=res; res=0; for(long i=0;i> k; long answer = sumOfGroup(k); cout << answer << endl; return 0; }