MathCastle
Number TheoryChallengeModular Arithmetic

Modular Arithmetic · Challenge problem

For k=1,2,…,16k = 1, 2, \ldots, 16 let aka_k be the inverse of kk modulo 1717, taken in {1,…,16}\{1, \ldots, 16\}. Find a1+a2+⋯+a16a_1 + a_2 + \cdots + a_{16}.