# Calculate $1^{30} + 2^{30} + 3^{30} + \ldots + 17^{30} \mod 31$

Answers: 1

True. Yet 1 ^ n = 1 mod whatever. Fermat is Little Theorem claims that n ^ 30 = 1 for all n prime to 31. So your solution of 17 is proper.

0

Ross Millikan 2019-05-21 21:25:53

Source
Share