0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

ユークリッドの互除法

Posted at

ユークリッドの互除法とは

2つの数の割り算を繰り返すことで最大公約数を求める方法。

フローチャート

a, bの最大公約数を求める。(abより大きい数であることを前提とする)
rは余りの数。

image.png

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?