This is the game theory, but prime numbers are quite similar because of 2^N. This is complicated.
Coalition is the maximum profits. Everybody should be happy, but you need to choose your partners.
v is called characteristic function. N is finite players.
This is dual game.
∀S⊆N
S is opportunity cost which is excluded from N. However, this is subset. S=N