Compute multiple modular inverses with Montgomery's trick | Dark Hacker News