What is the residue modulo 13 of the sum of the modulo 13 inverses of the first 12 positive integers?
Sum of the inverses of the first 12 positive integers:
1 + 7 + 9 + 10 + 8 + 11 + 2 + 5 + 3 + 4 + 6 + 12 =78
78 mod 13 =0
Could you please explain how you got those numbers?
I have programmed my computer with "Modular Multiplicative Inverse" algorithm which calculates them automatically. It is very similar to the algorithm used in this online calculator:
https://planetcalc.com/3311/
ok thanks.