Computing Remainders by Doubling · HackerTrans