Problem

Source: Tuymaada 2018 Senior League/Problem 5

Tags: number theory, divisible, prime numbers



A prime $p$ and a positive integer $n$ are given. The product $$(1^3+1)(2^3+1)...((n-1)^3+1)(n^3+1)$$is divisible by $p^3$. Prove that $p \leq n+1$. Proposed by Z. Luria