1 / 13

Internet Engineering Czesław Smutnicki Discrete Mathematics – Residual Arithmetic

Internet Engineering Czesław Smutnicki Discrete Mathematics – Residual Arithmetic. CONTENT S. Basic notions Modular arith m etic Congruence Chinese theorem Residual coutning system RNS Signed RNS Conversions. BASIC NOTIONS. Natural/integer numbers

eara
Download Presentation

Internet Engineering Czesław Smutnicki Discrete Mathematics – Residual Arithmetic

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Internet Engineering Czesław Smutnicki Discrete Mathematics – Residual Arithmetic

  2. CONTENTS • Basic notions • Modular arithmetic • Congruence • Chinese theorem • Residual coutning system RNS • Signed RNS • Conversions

  3. BASIC NOTIONS • Natural/integer numbers • Divisor d|a, a = kd for some integer k • d|a if and only if -d|a • Divisor: 24: 1,2,3,4,6,8,12,24 • Trivial divisors 1 and a • Prime number 2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59 • Composite number, 27 (3|27) • For any integer a and any positive integer n there exist unique integers q and r, 0<=r<n so that a = qn + r • Residue r = a mod n • Division q = [a/n], q = a div n • Congruence: a b (mod n) if (a mod n) = (b mod n) • Equivalence class (mod n): [a]n = {a + kn : k  Z}

  4. GREATEST COMMON DIVISOR • Common divisor: if d|a and d|b • Relatively prime numbers a and b : gcd(a,b)=1

  5. MODULAR ARITHMETIC

  6. CHINESE THEOREM

  7. MODULAR POWERS

  8. CARRY INDEPENDENT SYSTEM

  9. DIVISIONS

  10. OTHER PROPERTIES

  11. RNS BASE SELECTION

  12. CONVERSION FROM RNS

  13. Thank you for your attention DISCRETE MATHEMATICS Czesław Smutnicki

More Related