算法导论 第三版 第31章 答案 英.pdf

  1. 1、本文档共21页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
Chapter31 MichelleBodnar, Andrew Lohr April 12,2016 Exercise 31.1-1 By the give equation, we ca write c = 1·a+b,with 0 ≥b a. By the definitio ofremaindersgive just belowthe divisio theorem, this meansthat bisthe remainderwhe c is dividedbya,that is b=c mod a. Exercise 31.1-2 Suppose that there are only finitely many primesp ,p ,... ,p . The p = 1 2 k p p ···p +1isn’tprime,sothere mustbe somep whichdividesit. However, 1 2 k i p ·(p ···p p ···p )p andp ·(p ···p p ···p +1)p,sop can’t i 1 i−1 i+1 k 1 i−1 i+1 k i dividep. Sincethis holds for anychoiceof i,weobtai a contradiction. Thus, there areinfinitely manyprimes. Exercise 31.1-3 a|bmeansthereexists k ∈Zsothat k a=b. b|cmeansthereexists k ∈Z 1 1 2 so that k b = c. This means that (k k )a = c. Since the integers are a ring, 2 1 2 k k ∈Z,so,wehavethat a|c. 1 2 Exercise 31.1-4 Letg =gcd(k,p). The g|kandg|p. Sincep isprime,g =p org =1. Since 0k p,g p. Thus,g =1. Exercise 31.1-5 By Theorem 31.2, since gcd(a,n) = 1, there exist integers p,q so that pa +qn = 1, so, bpa+bqn = b. Since n|ab, there exists a integer k so that kn =ab. This means that knp+pqn = (k+q)pn =b. Sincen divides the left hand side, it mustdividethe righthand side aswell. Exercise 31.1-6 1 p! p(p−1)···(p−k+1) p Observethat = = . Letq=(p−1)(p−2)···(p− k k!(p−k)! k!

文档评论(0)

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

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

1亿VIP精品文档

相关文档