
예고한 것처럼 '최대 공약수'를 다룬다. 두 정수의 '최대 공약수'가 두 수의 '일차결합'으로 표현된다는 점은 반드시 명심하자. 또한 이번 글에서 접혀있지 않은 증명은 모두 숙지해야 이후의 삶이 편해진다. G.C.D(the Greatest Common Divisor) Let $a$ and $b$ be integers. $d$ is the greatest common divisor if and only if $d \gt 0$ $d \;|\; a$ and $d\;|\;b$ $e|a$ and $e|b$ $\Rightarrow e \lt d$ 말 그대로, 최대공약수 $d$는 다른 모든 공약수($e$)보다 큰 공약수이다. 정의는 이해가 되는데, 최대공약수를 구하는 방법이 궁금하다. 지난 시간에 공부한 $a,b$ ..
Mathematics/Number Theory
2022. 12. 2. 19:49
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- map
- Dijkstra
- JavaScript
- Vim
- max flow
- BOJ
- stack
- 세그먼트 트리
- segment tree
- bash script
- 다익스트라
- script
- python3
- javascript array
- dynamic programming
- lazy propagation
- Aho-Corasick
- math font
- nearest common ancestor
- bash
- fenwick tree
- 정수론
- persistent segment tree
- C++ big number
- RUBY
- Reference
- Shell Programming
- 백준
- number theory
- shell
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 | 31 |
글 보관함