#include #include #include #include #include #include #include long int sumOfGroup(int k) { // Return the sum of the elements of the k'th group. if(k==1) return 1; long int i,x=1,j; for(i=2;i