Problem

Source: Romania TST 2016 Day 4 Problem 3

Tags: number theory



Given a prime $p$, prove that the sum $\sum_{k=1}^{\lfloor \frac{q}{p} \rfloor}{k^{p-1}}$ is not divisible by $q$ for all but finitely many primes $q$.