본문 바로가기 메뉴 바로가기

MathTrauma

프로필사진
  • 글쓰기
  • 관리
  • 태그
  • 방명록
  • RSS

MathTrauma

검색하기 폼
  • 분류 전체보기 (128)
    • Mathematics (11)
      • Number Theory (5)
      • Real Analysis - 단편 (4)
      • Latex (1)
      • Inequality (1)
    • DS\Algo (84)
      • Dynamic Programming (16)
      • Tree (5)
      • Segment Tree (11)
      • 최단 경로 (5)
      • Mathematics (5)
      • Binary Search (1)
    • Programming Language (27)
      • Shell Programming (9)
      • Python3 and Ruby (3)
      • JavaScript [초급 -완결] (12)
      • C++ (3)
    • Computer 일반 (6)
      • Blender (1)
      • Jupyter Lab (1)
      • VIM (3)
      • Mac (1)
  • 방명록

유클리드 알고리즘 (1)
Number Theory with Code - 2. G.C.D and Euclid Algorithm

예고한 것처럼 '최대 공약수'를 다룬다. 두 정수의 '최대 공약수'가 두 수의 '일차결합'으로 표현된다는 점은 반드시 명심하자. 또한 이번 글에서 접혀있지 않은 증명은 모두 숙지해야 이후의 삶이 편해진다. 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
이전 1 다음
이전 다음
공지사항
최근에 올라온 글
최근에 달린 댓글
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
more
«   2025/07   »
일 월 화 수 목 금 토
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
글 보관함

Blog is powered by Tistory / Designed by Tistory

티스토리툴바