Why four?
A group of four is two pairs. That lets it work in two layers: first you talk with your partner, then the two pairs bring together what they have. In a three one student often watches while two talk; in a five or six someone always drops out of the conversation.
Four is also big enough for roles. Everyone can have a task of their own, reader, answerer, checker, and then nobody is a passenger. That is why so many cooperative structures are built for four.
Which structure for which goal?
To make everyone accountable: in Numbered Minds each member has a number and nobody knows who will be asked to explain. In Shuffle & Pick A holds the cards, B draws one and reads the question, C answers, D checks, and the roles move on after every round. Taking Turns and On time give everyone in the group the floor in turn.
To think alone first and then together: Placemat, Written Thoughts and Think, Write & Share start with writing, each on their own, and then look for what the group shares. Snowball goes from one to a pair to four, and in Interview in Three Rounds A and B and C and D interview each other before the four share what they heard.
To split the knowledge: in Jigsaw each member becomes the expert on one part of the material and teaches it back to their own group. In 1 goes, 3 stay one team member visits another team every round. Design thinking in miniature has teams build and test a design in one lesson with a client from the neighbouring team.
What to watch for
Set the groups up before you give the task: desks together, faces towards each other. A group sitting in a row talks like a row. Keep to four where you can and let the class do the rest: a class of 26 makes six fours and one pair, or five fours and two threes.
Keep the same fours for a few weeks. Roles and routines only become automatic once the group has done them five times or so; new groups every lesson means a fresh start every lesson.