Complex sentence: Puzzles are often contrived as a form of entertainment, but they can also stem from serious mathematical or logistical problems--in such cases, their successful resolution can be a significant contribution to mathematical research.
Split into simpler sentences: Puzzles are often devised as a form of entertainment but they can also arise from serious mathematical or logistical problems. In such cases, their solution may be a significant contribution to mathematical research.