FLTMA: How to write (a,b,c) mod (a,b,c): six combinations

DGoncz_at_aol.com
Date: 03/08/05


Date: 8 Mar 2005 13:28:26 -0800

How do I use the "verb" mod (modulus) to write a vector or matrix of
three numbers a, b, and c, modulo the same three numbers?

Sure, I could write out

a mod a a mod b a mod c
b mod a b mod b b mod c
c mod a c mod b c mod c

as a matrix, but isn't there an operator that does this, that is,
combine three numbers in a binary operation (modulo) in all nine
possible ways? Of course, three of the nine are zero: the three on the
diagonal.

I guess that's all I have to do. If W is a vector (a,b,c) then

W (some symbol) W = the above matrix.

Can you suggest a symbol? Should it be a binary operator, or prefix, or
postfix?

I can make an analogy to multiplication. The column vector (a,b,c)
times the row vector (a,b,c) gives the pattern above.

Modulus is somewhat analogous to division. Multiplication and division
should distribute over addition. Is there a distributive property
related to the modulus?

Let's see (a+b) mod c = (( a mod c ) + ( b mod c) ) mod c.

If for convenience, all vector are row vectors then:

(transpose of (a,b,c)) * (a,b,c) gives the same pattern.

Yours,

Doug Goncz
Replikon Research
Falls Church, VA 22044-0394



Relevant Pages

  • Re: Rabin vs. RSA/ElGamal
    ... roots for me modulo your modulus, ... But then, so is "raw RSA". ... permutation into a full-blown public-key encryption scheme. ... or cubing modulo N -- a building block, not something it makes sense to ...
    (sci.crypt)
  • Re: Is there any COBOL program for verify the SSN?
    ... Modulus 11 is NOT the same as Modulo 11. ... The Luhn algorithm or Luhn formula, also known as the "modulus 10" or "mod 10" algorithm, is a simple checksum formula used to validate a variety of identification numbers, such as credit card numbers and Canadian Social Insurance Numbers. ...
    (comp.lang.cobol)
  • Re: [QUIZ] Modular Arithmetic (#179)
    ... one less than the modulus. ... we must use the appropriate congruent value modulo 24. ... While most operations will be straightforward, modular division is a ... def coerce ...
    (comp.lang.ruby)
  • Re: RSA Private Key representation
    ... Use the secret exponent to factor the modulus. ... factor the modulus if we have the public key and the private key ... Modulo n, we have four square roots of one, 1, -1, and two ... if we can find a non-trivial square root of one modulo n, ...
    (sci.crypt)
  • Re: Summation, modulo and decimal
    ... >I'm trying to use the modulo (modulus, mod, %) to do the following: ... >The problem is that modulo is only def. ... It not worked because before it shift the ... >digit to the left the number is added to the previous value, so, I used ...
    (sci.math)