Recently on a Finite Group monthly livestream, I set Matthew Scroggs some old puzzles and he came up with computational solutions to these (video here, paywalled). One of the puzzles was the Archimedes Cattle Problem and after the stream I was doodling around this when a fun simplification emerged. It doesn’t much relate to the problem, it’s just something that came out when I was shuffling some algebra around.
Playing with this, I realised it was a pattern I could generalise.
I enjoyed how the denominators of the fraction pairs reappear in the same pairs on the right hand side.