서로 다른 n개에서 r개를 택하여 일렬로 배열하는 것. (n≥r)
Contents
- 1. Simple Example
- 2. 순열의 수 계산법
- 3. TI-Nspire
- 4. 원순열
- 5. 중복순열
- 6. 같은 것이 있는 순열
- 7. 완전순열 complete permutation
- 8. 교대치환, 교대순열 alternating permutation
- 9. (위아래mkl)
- 10. parity of a permutation
- 11. factorial 과의 관계
- 12. mkl: super-permutation (per가 두번. supermutation 아님...)
- 13. tmp 1
- 14. 소스, Prg Lang Impl
- 15. mkl
- 16. cmp
1. Simple Example ¶
5P3 = 5×4×3
이렇게 간단한 것은 계승이 포함된 그 공식을 기계적으로 쓰는 것보다 경우의_수,number_of_cases를 생각해서 몇 개의 숫자를 곱하는 것이 빠르다.
일반적인 경우를 나타내기 위해선 계승이 포함된 공식이 필요한데, 분자와 분모에 같은 값을 곱하는 변형을 한다. 위의 경우
5P3 = 5×4×3 = 5×4×3×2×1 / 2×1 = 5! / 2! = 5! / (5−3)!
서로 다른 n개에서 r개를 선택하는 순열의 수는
nPr = n×(n−1)×…×(n−r+1) = n! / (n−r)!
이렇게 간단한 것은 계승이 포함된 그 공식을 기계적으로 쓰는 것보다 경우의_수,number_of_cases를 생각해서 몇 개의 숫자를 곱하는 것이 빠르다.
일반적인 경우를 나타내기 위해선 계승이 포함된 공식이 필요한데, 분자와 분모에 같은 값을 곱하는 변형을 한다. 위의 경우
5P3 = 5×4×3 = 5×4×3×2×1 / 2×1 = 5! / 2! = 5! / (5−3)!
서로 다른 n개에서 r개를 선택하는 순열의 수는
nPr = n×(n−1)×…×(n−r+1) = n! / (n−r)!
2. 순열의 수 계산법 ¶
서로 다른 개에서 개를 택하는 순열의 수는
이유는,
그 외 알아두면 좋은 성질들
즉 이때는 계승과 같다. QQQ 그럼 아마도 순열은 계승의 일반화? n개중에 n개를 늘어놓는 경우의 수가 계승이라면, 순열은 (0, 1, 2, …, n)개를 늘어놓는 모든 경우로 일반화,generalization한?
6. 같은 것이 있는 순열 ¶
개 중 개, 개, 개, …, 개가 각각 같은 것일 때,
이들을 일렬로 나열하는 순열의 수는
단,
이들을 일렬로 나열하는 순열의 수는
ex1. 빨간 공 3개, 초록 공 2개, 파란 공 2개를 일렬로 배열하는 방법의 수
ex2. tomorrow의 8개 알파벳을 일렬로 나열하는 경우의 수는?
sol. o가 세 개, r이 두 개 있으므로
AKA 동자순열, permutation of multisets
sol. o가 세 개, r이 두 개 있으므로
8. 교대치환, 교대순열 alternating permutation ¶
ALSOIN 치환,permutation
https://mathworld.wolfram.com/AlternatingPermutation.html
https://everything2.com/title/alternating permutation
https://everything2.com/title/alternating permutation
지그재그 zigzag 와....
zig_number = secant_number = Euler_number (odd alternating permutation number)
zag_number = tangent_number (even alternating permutation number)
ref.
https://mathworld.wolfram.com/SecantNumber.html
https://mathworld.wolfram.com/TangentNumber.html
https://mathworld.wolfram.com/EulerNumber.html
https://mathworld.wolfram.com/EulerZigzagNumber.html
https://mathworld.wolfram.com/EntringerNumber.html
zig_number = secant_number = Euler_number (odd alternating permutation number)
zag_number = tangent_number (even alternating permutation number)
ref.
https://mathworld.wolfram.com/SecantNumber.html
https://mathworld.wolfram.com/TangentNumber.html
https://mathworld.wolfram.com/EulerNumber.html
https://mathworld.wolfram.com/EulerZigzagNumber.html
https://mathworld.wolfram.com/EntringerNumber.html
10. parity of a permutation ¶
even_permutation
even permutation
odd_permutation
odd permutation
even permutation
odd_permutation
odd permutation
짝치환 짝순열 even_permutation
홀치환 홀순열 odd_permutation
https://mathworld.wolfram.com/OddPermutation.html
https://mathworld.wolfram.com/EvenPermutation.html
홀치환 홀순열 odd_permutation
https://mathworld.wolfram.com/OddPermutation.html
https://mathworld.wolfram.com/EvenPermutation.html
Twin:
순열의 홀짝성
Parity_of_a_permutation
https://proofwiki.org/wiki/Definition:Parity_of_Permutation
https://www.geeksforgeeks.org/even-and-odd-permutations-and-their-theorems/
순열의 홀짝성
Parity_of_a_permutation
https://proofwiki.org/wiki/Definition:Parity_of_Permutation
https://www.geeksforgeeks.org/even-and-odd-permutations-and-their-theorems/
MKL
크로네커_델타,Kronecker_delta
치환군 순열군 permutation_group
교대군,alternating_group - permutation_group 의 일종.
대칭군,symmetric_group
크로네커_델타,Kronecker_delta
치환군 순열군 permutation_group
교대군,alternating_group - permutation_group 의 일종.
대칭군,symmetric_group
13. tmp 1 ¶
// from 순열 ; chk
aka falling_factorial (rel. 계승,factorial)
단어 permutation은 군론,group_theory(curr 군,group) 에서 치환,permutation을 뜻하며, 치환의 개수는 순열로 표현 가능.
aka falling_factorial (rel. 계승,factorial)
단어 permutation은 군론,group_theory(curr 군,group) 에서 치환,permutation을 뜻하며, 치환의 개수는 순열로 표현 가능.