concept total in category algorithms
appears as: total, total

This is an excerpt from Manning's book Algorithms and Data Structures in Action.
That’s much better than our first result. It’s clear that this was a step in the right direction. But, looking closely, it’s apparent that adding peanut butter prevented us from taking beans, which would have allowed us to increase the total value of the crate even more. The good news, is that at least you won’t be forced to the Martian’s diet anymore: no potatoes goes on Mars this time.
1/n * [(n-2)/n]k-1