
주인공인 Wilson 정리를 소개한다. Wilson $p$를 소수라 하면 다음이 성립한다. $$ (p-1)! \equiv -1 \; (mod\; p) $$ 다음의 계산을 효과적으로 할 수 있다면 Wilson 정리의 증명을 이해한 것이다! $$ 4 \cdot \frac1{3} \cdot \frac1{4} \cdot 5 \cdot 6 \cdot 2 \cdot 3 \cdot \frac1{2} \cdot \frac1{5} $$ 다음 문제들은 모두 같은 문제이다. 다음 식의 값을 간단히 하라. $$ \sum_{n=-100}^{100} \frac1{2^i+1}$$ 등차 수열을 합을 구하는 것과 다를 게 무엇인가? $$ \frac1{2^{-i}+1} + \frac1{2^{i}+1} = 1$$ 를 이용하면 된다. 수열..
Mathematics/Number Theory
2023. 1. 9. 01:10
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- stack
- BOJ
- Reference
- 세그먼트 트리
- RUBY
- persistent segment tree
- Vim
- python3
- Dijkstra
- script
- bash script
- segment tree
- lazy propagation
- C++ big number
- nearest common ancestor
- Shell Programming
- javascript array
- 정수론
- JavaScript
- map
- number theory
- dynamic programming
- Aho-Corasick
- max flow
- 백준
- 다익스트라
- math font
- bash
- fenwick tree
- 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 |
글 보관함