Solving Modular Arithmetic Problems: How to Explained

  • Context: High School 
  • Thread starter Thread starter XodoX
  • Start date Start date
  • Tags Tags
    Arithmetic
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
3 replies · 3K views
XodoX
Messages
195
Reaction score
0
How do I solve those problems?

Like,

Find some x such that x[tex]\equiv[/tex]8 mod (18)

Find the inverse of 12 modulo 41

Solve 2x=7 mod (13)

I know it's easy, but I don't get it.

Let a and be be integers, and let m be a positive integer. Then a [tex]\equiv[/tex] b ( mod m) if and only if a mod m = b mod m

That's the explanation in the book. I'm not getting it. Can somebody please explain this modular arithmetic to me?
 
Physics news on Phys.org
Nobody knows? Maybe wrong forum.
 
mod arithmetic is just a system of integers that "starts" over at the mod #. Think about the 12 notes on a piano - c,c#,d,d# etc. once you get to b or 12 it just starts over. so 7 mod 13 could be (assuming you start at 1) 7, 20, 33, 46, etc