I puzzle over this math problem every night.
puzzle over
idiomTo think intensely and deeply about a confusing problem, situation, or question in an effort to understand it or to find a solution.
The detective continued to puzzle over the strange clues left at the crime scene, hoping to find a pattern.
Scholars have continued to puzzle over the mysterious origins of the ancient manuscript, yet no definitive explanation has emerged after decades of study.