Math Is Fun Forum

  Discussion about math, puzzles, games and fun.   Useful symbols: ÷ × ½ √ ∞ ≠ ≤ ≥ ≈ ⇒ ± ∈ Δ θ ∴ ∑ ∫ • π ƒ -¹ ² ³ °

You are not logged in.

#1 2014-08-27 02:55:17

curiousone
Guest

modulus interests

Does anyone know of a way to take an answer from one modulus equation and plug it into another, then take that answer and put it into another, and another repeatedly. For instance, using any random variables just for show, given (n1-m1)(mod p1)=n2, then I need to plug n2 back in...(n2-m2)(mod p2)=n3, then (n3-3)(mod p3)=n4 ad infinitum. The values of n, m and p are known and change with each function, but that's for another question. If there's any way to simplify writing out this effort it would be immensely appreciated.

#2 2014-08-27 03:00:59

bobbym
bumpkin
From: Bumpkinland
Registered: 2009-04-12
Posts: 109,606

Re: modulus interests

Hi;

That is kind of vague. Can you post the original problem just as it is written?


In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.

Offline

Board footer

Powered by FluxBB