Top "Modulo" questions

The modulo (sometimes called modulus) operation finds the remainder of division of one number by another.

Modulo of negative numbers

Possible Duplicate: Mod of negative number is melting my brain! I was wondering if there was a nicer algorithm for …

algorithm math modulo
Algorithm to find Sum of the first r binomial coefficients for fixed n modulo m

I am trying to find the sum of the first r binomial coefficients for a fixed n. (nC1 + nC2 + nC3 + ... + …

algorithm modulo binomial-coefficients
Java modular inverse

I'm doing some error correction in Java and to cut a long story short; Under mod 11: -4 mod 11 = 7 This I've …

java modulo inverse
Generator G's requirement to be a primitive root modulo p in the Diffie Hellman algorithm

Having searched, I've found myself confused by the use of P and G in the Diffie Hellman algorithm. There is …

cryptography root primitive modulo diffie-hellman
Cube root modulo P -- how do I do this?

I am trying to calculate the cube root of a many-hundred digit number modulo P in Python, and failing miserably. …

python algorithm rsa modulo public-key-encryption