I apologize if the question is too vague. I thought I could provide some background to clarify what I mean by separate and arrange.
I was chatting with a friend one day and he had 4 keys and could pick out two of them by flipping the first one on the ring so that he could feel the teeth of that key and the second key would be in the middle of the three keys remaining.
He recently got another key and now has 5. The same technique doesn’t work because there are 4 keys remaining after feeling the teeth of the first.
We were trying to think of a process that would allow him to pick out the same two keys in the right order.
Also, I was wondering if there was a way to frame this problem with ‘n’ total keys and having to pick out ‘m’ of them.