PICK A PAIR OF PACKETS

My friend Jeff likes his coffee sweet, so I wasn't surprised when I met him at the cafeteria, and on the table in front of him was a line of six packets of sweetener in a row, three pink followed by three blue:


        P P P B B B
      

As we were talking, my eyes rested on his fingers, which were idly shuffling the packets around the table in pairs. After a while, I noticed that he had rearranged the packets so that they alternated:


        P B P B P B
      

I thought nothing of it. But that night, I couldn't sleep, and I tried to relax by recalling how the packets had been shifted. All I could remember was that:

How did Jeff do it?

I give up, show me the solution.

Back to the puzzle page.


Last revised on 06 October 1999.