Pancake Sorting is a game created by u ndefined where you flip pancakes in a limited number of moves, sorting them each move.

How to Play

Hold your finger to the pancakes. A line indicator should appear. Then, drag up and down to what pancakes you must flip. When the finger is released, the pancakes above the line are flipped. (To cancel it, move your finger away from it and release.)

The goal is to order the pancakes increasing down in size, with limited number of moves in the top-right.

Solutions

In the following notation, 1 means to flip the bottommost pancake, and then going up. When there is more than one solution, only one instance is shown.

  1. 1.
  2. 1.
  3. 21.
  4. 121.
  5. 313.
  6. 121.
  7. 3213.
  8. 4321.
  9. 2312.
  10. 2313.
  11. 23121.
  12. 24124.
  13. 2313.
  14. 2141.
  15. 1531.
  16. 423413.
  17. 232415.
  18. 5415345.
  19. 21654.
  20. 25615.
  21. 142413.
  22. 621412.
  23. 2561525.
  24. 4243153.
  25. 35156256.
  26. 234671.
  27. 5125435.
  28. 76531263.
  29. 46137542.
  30. 312345676.