…no item appears more than once in the same group with any other item.
I am trying to solve this in Excel for someone. I could write a VBA program to do it but I cannot imagine what the algorithm would be. The real-world application is you have a conference of some sort with 49 people. You want to seat them at tables of 7, and have 7 rounds of seatings. Therefore, each person will meet 42 people, and never sit at the same table with any other given person more than once.
First: Is it provable that this is mathematically possible?
Second: Is there an algorithm to generate the necessary seatings? Or do you have to do it by brute force? The brute force method would involve analyzing a number of permutations on the order of 10^6 so is likely intractable for practical purposes.
The question as worded did not require each person to meet all 48 other people, only 42. But I am following up to make sure that was what was intended.