This trick was shown to me by one of the excellent MathsBusking people. They didn’t explain why it works or how to generalise it to other numbers of cards, so I did a bit of thinking and then I made this video.