CSE115ENGR160 Discrete Mathematics031312.ppt

  1. 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
  2. 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  3. 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
CSE115ENGR160 Discrete Mathematics031312.ppt

* * * * * * * * * * * * * * * * * * * * * CSE115/ENGR160 Discrete Mathematics 03/13/12 Ming-Hsuan Yang UC Merced * 4.1 Divisibility and modular arithmetic Number theory: the branch of mathematics involves integers and their properties If a and b are integers with a≠0, we say that a divides b if there is an integer c s.t. b=ac When a divides b we say that a is a factor of b and that b is a multiple of a The notation a | b denotes a divides b. We write a ? b when does not divide b * Example Let n and d be positive integers. How many positive integers not exceeding n are divisible by d? The positive integers divisible by d are all integers of them form dk, where k is a positive integer Thus, there are positive integers not exceeding n that are divisible by d * Theorem and corollary Theorem: Let a, b, and c be integers, then If a | b and a| c, then a | (b+c) If a | b, and a | bc for all integers c If a | b and b | c, then a | c Corollary: If a, b, and c are integers s.t. a | b and a | c, then a | mb+nc whenever m and n are integers * The division algorithm Let a be integer and d be a positive integer. Then there are unique integers q and r with 0 ≤ r d, s.t. a=dq+r In the equality, q is the quotient, r is the remainder q = a div d, r = a mod d -11 divided by 3 -11=3(-4)+1, -4=-11 div 3, 1=-11 mod 3 -11=3(-3)-2, but remainder cannot be negative * Modular arithmetic If a and b are integers and m is a positive integer, then a is congruent to b modulo m if m divides a-b We use the notation a≡b (mod m) to indicate that a is congruent to b modulo m If a and b are not congruent modulo m, we write a ?b (mod m) Let a and b be integers, m be a positive integer. Then a≡b (mod m) if and only if a mod m = b mod m * Example Determine whether 17 is congruent to 5 modulo 6, and whether 24 and 14 are not congruent modulo 6 17-5=12, we see 17≡5 (mod 6) 24-14=10, and thus 24?14 (mod 6) * Theorem Karl Friedrich Gauss developed the concept of congruences at the en

文档评论(0)

gshshxx + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档