#include #include #include #include #include #include #include long int sumOfGroup(long int k) { // Return the sum of the elements of the k'th group. long int first_number_in_group; first_number_in_group=k+((k-1)*(k-1)); long int sum=0,index=0; for(index=0;index