You are viewing a single comment's thread. Return to all comments →
For th group, how many number were used in previous groups?
So, the first number in th group will be th odd number.
th odd number is given as . So, the first number in th group will be
Now, the group is an AP with first term given above and common difference (odd numbers).
In C++, return 1L * k * k * k.
return 1L * k * k * k
Seems like cookies are disabled on this browser, please enable them to open this website
Number Groups
You are viewing a single comment's thread. Return to all comments →
For th group, how many number were used in previous groups?
So, the first number in th group will be th odd number.
th odd number is given as . So, the first number in th group will be
Now, the group is an AP with first term given above and common difference (odd numbers).
In C++,
return 1L * k * k * k
.