In Glitch, prime numbers play an important role in many aspects. Why don't use them in inventory slots?
First, there should be 17 slots in the inventory.
Second, small bags should have 11 slots, and big bags 17.
Maybe this should be taken one step further and also apply to stacks.