Posts
Showing posts matching the search for Introduction to Modular Arithmetic
See all posts in this series I have mentioned modular arithmetic (sometimes known as "clock arithmetic") in several of my posts. But this may not be helpful if you haven't come across this type of arithmetic before.
Introduction to Modular Arithmetic, Part 3b
- Get link
- X
- Other Apps
See all posts in this series In this post we'll look at some applications of the result from last time that we gave the non-standard name Modular Arithmetic Consistency Theorem , or MACT for short. In particular, we will finally have a proper look at powers of integers. Theorem (MACT) Let \(k\) be a positive integer, and let \(a_1\), \(b_1\), \(a_2\) and \(b_2\) be integers. Suppose that \(a_1\equiv a_2~~(\mathrm{mod}~k)\) and \(b_1\equiv b_2~~(\mathrm{mod}~k)\). Then \(a_1+b_1 \equiv a_2+b_2 ~~(\mathrm{mod}~k)~~~ \textrm{and}~~~ a_1b_1 \equiv a_2b_2 ~~(\mathrm{mod}~k)\,.\) Warning! You can't expect anyone else to know what this so-called MACT is, so i f you want to use the name MACT in your work, you will need to explain which result it is that you are calling the MACT. (However you can usually use it implicitly in your working without actually naming it. The standard official name might be a bit long: Consistency of the equivalence relation congrue...
Introduction to Modular Arithmetic, Part 2
- Get link
- X
- Other Apps
See all posts in this series In this part, we revise some of the material from Part 1 (with some more examples), and we discuss some of the basic properties of congruence modulo \(k,\) including reflexivity, symmetry and transitivity. For the purposes of these posts, we will take it as standard that if you multiply or add two integers the result is always an integer. (We have to start somewhere!) We begin by recalling the main two definitions we need, as explained in Part 1 . Definition: For an integer \(n\) and a positive integer \(m\), we say that \(n\) is divisible by \(m\) if (and only if) \(\frac nm\) is an integer. Note: here \(n\) can be positive, negative or zero, but we will not look at divisibility by negative integers (or by zero, of course). There are other definitions of "divisible" which are probably better when you look at more abstract algebra later, but this relatively elementary definition is good enough for us here. Definition: ...