Playing around with the modulo operation

  • Thread starter Thread starter Archosaur
  • Start date Start date
Archosaur
Messages
333
Reaction score
4
Hey guys,
I am by no means a mathematician, but I do have a decent eye for patterns, and I found a pretty cool one today. I was hoping one of you guys could tell me more about it.

As a general rule, I've found that if (a*b) mod c = 1, then the sequence a^n mod c is the reverse of the sequence b^n mod c.

For example, (7*8) mod 11 = 1
and 7^n mod 11= 7,5,2,3,10,4,6,9,8...
while 8^n mod 11= 8,9,6,4,10,3,2,5,7...

As another example, (56*24) mod 17 =1
and 56^n mod 17 = 5,8,6,13,14,2,10,16,12,9,11...
while 24^n mod 17= 11,9,12,16,10,2,14,13,6,8,5...

What do you all think about this? I'm willing to bet that all I've done is show a simple concept in a convoluted way, but I'm to fried to think critically about this any more.
 
Mathematics news on Phys.org
This is very interesting. For your first example, it is significant that 7 and 11 are relatively prime (no factors in common other than 1), and the same is true for 8 and 11.
 
Archosaur said:
Hey guys,
I am by no means a mathematician, but I do have a decent eye for patterns, and I found a pretty cool one today. I was hoping one of you guys could tell me more about it.

Hi Archosaur. Here's a partial proof that's very straight forward. (BTW, to save typing please take all equalities as " = modulo c" and all variables as positive integer in what follows).

1. Assume that we have some power of "a" that is equal to some power of "b", that is a^p = b^q = x for some p,q. (I haven't shown under what conditions this is guaranteed to occur, so this is definitely only a partial proof).

2. Since ab = 1 then abx = x,

so ab b^p = a^p and hence b^{p+1} = a^{q-1}, which proves the reversed nature of the two series.

Perhaps someone else will be able to provide a more complete proof.
 
Wow, thank you very much, uart! That was just the kick-start I needed to think about this more.
 
All modulo c: If ab = 1, then a= b^-1. So a^n=b^-n. The periodicity of the sequences assures that they are opposite. a^n = b^-n is going in the "opposite direction" to b^n.
 
Awesome, yes, this is what I ended up with. Thanks for your help, everyone!
 
Insights auto threads is broken atm, so I'm manually creating these for new Insight articles. In Dirac’s Principles of Quantum Mechanics published in 1930 he introduced a “convenient notation” he referred to as a “delta function” which he treated as a continuum analog to the discrete Kronecker delta. The Kronecker delta is simply the indexed components of the identity operator in matrix algebra Source: https://www.physicsforums.com/insights/what-exactly-is-diracs-delta-function/ by...
Fermat's Last Theorem has long been one of the most famous mathematical problems, and is now one of the most famous theorems. It simply states that the equation $$ a^n+b^n=c^n $$ has no solutions with positive integers if ##n>2.## It was named after Pierre de Fermat (1607-1665). The problem itself stems from the book Arithmetica by Diophantus of Alexandria. It gained popularity because Fermat noted in his copy "Cubum autem in duos cubos, aut quadratoquadratum in duos quadratoquadratos, et...
Thread 'Imaginary pythagorus'
I posted this in the Lame Math thread, but it's got me thinking. Is there any validity to this? Or is it really just a mathematical trick? Naively, I see that i2 + plus 12 does equal zero2. But does this have a meaning? I know one can treat the imaginary number line as just another axis like the reals, but does that mean this does represent a triangle in the complex plane with a hypotenuse of length zero? Ibix offered a rendering of the diagram using what I assume is matrix* notation...
Back
Top