Is there a more efficient way to compute positive modulo?
134700
Fastest way to get a positive modulo in C/C++
120079
What algorithms exist to quickly compute the inverse factorial?
64896
Dealing with non-integral powers on negative numbers
99815
Dividing versus multiplying by inverse in modular arithmetic
144067
calculating $a^b \!\mod c$
5287
Representing every positive rational number in the form of $(a^n+b^n)/(c^n+d^n)$
97303
Calculate the multiplicative inverse modulo a composite number
120913
How would you write a non-recursive algorithm to calculate factorials?
1539
How do you calculate the modulo of a high-raised number?
16606
elliptic curve multiplication with negative factor
55049
How to find the inverse modulo $m$?
45014
Modular exponentiation by repeated squaring
67655
Simpler way to compute a definite integral without resorting to partial fractions?
143392
How to calculate the division and remainder of a big number manually
149929
Calculating (a^b)%MOD
40635
Finding Maximum value of consecutive positive integers with constraints
650
Modulus operation with negatives values - weird thing?