Primeshard
0:00.0

Let pp be a prime. Which of the following values of pp satisfy the condition that p31p^3 - 1 is a product of exactly three distinct prime numbers?