#include #include #include #include #include #include #include long int sumOfGroup(int k) { // Return the sum of the elements of the k'th group. long long int start = pow(k,2)- (k-1); long long int sum = start; for(int i =0; i