Problem

Source:

Tags: number theory



Show that the sum $S=5+5^2+5^3+…+5^{2016}$ is divisible by $31$