Question 124Determine the positive integers $n \gt 1$ such that, for any divisor $d \gt 1$ of $n$, the numbers $d^2 - d + 1$ and $d^2 + d + 1$ are prime.