--- ###### tags: `Number Theory` `NT01` # L01 Natural Number and Modular Arithmetics --- ## This week - Introduction: Module, Home coding, Friday - Natural Number and (Modular) arithmetic - Intro to Python (List, string, Dictionary) --- ### 1. Natual Number <font size = 4>Our early-kinds SMARTLY invent it for counting purpose, which was believed that, happend "before history"</font>. ![](https://drive.google.com/uc?export=view&id=1nPliTvVWEuGomBVaZ11k3dNsqRy2CuQw) ---- #### 1.1 Other set of Numbers ![](https://drive.google.com/uc?export=view&id=1ZXzuWvjIHC0G7iAjSlE1CgIO1GD2R8RD) ---- #### 1.2 Initial Arithmetic: Addtion <font size = 5> One rule attached to the Natural number was addtion. We might started by +1 on a certain number, but human realised that, >create something can be momorised, will reduce the step of operatioins so certain number system, the process of addtion can be much more simplified. </font> <font size = 4> -- E.g. (1+1+1+1+1+1) + (1+1+1+1+1) Compare with 6 + 5 </font> <font size=5>Features/properties of Addition in Natural numbers:</font> <font size =4> - Commutativity: a+b=b+a, for any a, b that are Natural numbers - Associativity: a+(b+c)=(a+b)+c, for any a,b,c that are Natural numbers </font> ---- #### 1.25 let's repeat our smart idea again <font size = 5> Now we have new problem: 9+9+9+9+9+9+9+9+9 >create something can be momorised, will reduce the step of operatioins </font> <font size = 4> -- E.g. 9+9+9+9+9+9+9+9+9 Compare with $9\times9 = 81$ Previously, out ancients generalise sticks/marks to number system. Then, they generalise addtion to multiplication Like a computer, they increase the important infomation stored in RAM, for a shorter calculation running. </font> ---- ---- #### 1.3 Then: something interesting when "/" was introduced <font size = 5> Division lead to a new problem: the remainder problem, because not every time, we apply two numbers into a division arithmetic, the output would be a integer... e.g. 7/3 or 8/3 </font> Or, <font size = 5> If I am asking you to describe relationship between two numbers, 5 and 26, what are you going to say? 1. 26 = 5 + 21, You can say that 26 is 5 plus 21 2. $26= 5 \times 5+1$, You can say that 26 is 5 of 5 sumup, plus 1 The first one is trivial but nothing interesting; The second one is interesting in manny field of Mathematics. </font> ---- #### 1.35 Euclidean Division Lemma <font size = 5> This is first time in this Module we come across the Great Euclid, You will meet him again shortly. **Euclidean Division Lemma (easier version):** > Given two positive integers a and b, with $b \ne 0$ and $a > b$, there exist unique integers q and r such that, $a = bq + r$, where $0\le r < b$ </font> <font size = 3> *The proof of this lemma will be provided for interested reader after the lecture, as well as in Week 10's Math Appendix* </font> <font size = 5> Thanks for the Euclid's Inspiration, Now we have another way to describe relationship between 5 and 26; 3. $26 = 5\ mod\ 7$ The real world of Mathematics if far more interesting than calculation! </font> --- ### 2. Modular Arithematic <font size = 4>Actually, it appears frequently when we talking about time.</font> ![](https://drive.google.com/uc?export=view&id=1zOjEx-rOS62LjwMRJ2Ef_IJH5_p9bgyB) ---
{"metaMigratedAt":"2023-06-17T05:38:53.322Z","metaMigratedFrom":"YAML","title":"NT01_L01","breaks":true,"description":"Caeser Cipher and Brute Force Attack.","slideOptions":"{\"theme\":\"moon\"}","contributors":"[{\"id\":\"d8479402-2b3f-4751-92f6-b67f55f4b94f\",\"add\":5800,\"del\":2178}]"}
    252 views