My classmates and I are preparing for a competition. I am in charge of dividing the 60 of them into teams of 6 . The teams members will be rotated every week . I would like to team them up in such a way that no two members from the same team go to another team during the next switch. Googling and checking in stackover flow I found a certain question similar to this ( forgot to mark the URL :( ) . Based on the answers provided I came to the following conclusion : Each and every person has to sit with 59 others . In every shift the person has to sit with 5 others . so there are 59/5 ways I can make a person sit that satisfies my constraint . Since 59/5 is NOT an integer , it is impossible .
- Am I Correct in assuming this ?
- And will it be possible to achieve a solution using a technique such as backtracking ? If so can anyone tell me how one can achieve such a solution ?
Thanks in advance !!!!
Here's an example. No student on a given week will end up on the same team as any of their teammates from the previous week.