The organisation of our friendships is guided to a large degree by our cognitive capacity when it comes to managing them, that is, by the amount of time and mental effort we can devote to them. This is one of the conclusions of a study which analyzed these relationships from a mathematical perspective.