Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update 方差与偏差.md #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

10444005404
Copy link

No description provided.

@WisleyWang
Copy link

这里给出证明:
求a,b最大公约数。且a>b。
如果a%b=0,显然b是a的最大公约数。
否则,a=bq+r ,设d是a,b的公约数,只需证,d同时也是b,r的公约数。
反证法,假设d是a,b公约数,但不是r的公约数。
有 a=nd,b=md ,得(n-m)d=r ,由于m,n均是正整数,所以可知d是r的公约数,与假设矛盾。
故有结论,d是a,b的公约数,d同时也是b,r=a%b的公约数。
转而求b与a%b的公约数即可,直到得到最大公约数,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants