순열 계산기 (nPr)

n에서 선택한 r개의 항목의 순서대로 배열된 항목을 세어보자.

변환 (nPr) —
공식 —

입력하는 동안 결과가 업데이트됩니다.

이 계산기가 올바른 답을 드렸습니까?

이 계산기에 대해

A permutation counts how many ways you can arrange r items chosen from a set of n, where order matters — so first, second and third place are three different outcomes. This calculator returns the exact count and the formula it used, even for large n and r.

The formula is nPr = n! / (n − r)!, which is the same as multiplying the top r numbers counting down from n. For 10 items taken 3 at a time, that is 10 × 9 × 8 = 720. Choosing none gives nP0 = 1, and arranging all of them gives nPn = n!. You cannot choose more items than you have, so if r is greater than n the tool returns a dash.

Permutations answer "how many ordered sequences?" — the number of possible race finishes, seating orders, PIN codes or ranked shortlists. When order does not matter, use a combination instead, which is always the smaller count.

자주 묻는 질문

순서수와 조합수의 차이점은 무엇인가?

순서가 중요한 순서 변환에서 (첫 번째, 두 번째, 세 번째는 다른 결과) 조합에서는 그렇지 않습니다. 항상 조합만큼 적어도 많은 순서 변환이 있습니다.

순서수식은 무엇인가?

nPr = n! / (n − r)!. 10개의 항목을 한 번에 3개씩 취한 경우: 10 × 9 × 8 = 720.

언제 변환을 사용해야 하나요?

순서가 중요할 때: 마무리자 순위, 1위/2위/3위 채우기, 줄에 앉히기, 순서대로 코드를 구축하기.

r이 n보다 크면 어떻게 되는가?

이미 있는 것보다 더 많은 항목을 정렬할 수 없으므로 결과는 정의되지 않고 도구는 대시를 반환합니다.

nP0이란 무엇인가?

1은 아무것도 준비하는 정확히 한 가지 방법이 있다, 빈 배열.

nPn이란 무엇입니까?

이는 n!와 같으며, 모든 n개의 항목을 순서대로 배열하는 것은 완전한 분수와 같기 때문이다. 예를 들어 4P4 = 4! = 24.

❤️ 사랑 Calculator.Free? 공유하세요

𝕏  X Facebook Reddit
API — 코드에서 이 계산기를 사용

이 계산기를 무료 JSON 엔드포인트로 호출하세요. 키가 필요하지 않습니다. 아래 필드 값을 쿼리 매개 변수 또는 JSON으로 보내십시오. 누락된 모든 값은 이 페이지에서 미리 채워진 기본값을 사용합니다. 알 수 없는 매개변수는 400이며, 절대 0이 아닙니다. 전체 API 문서 읽기 →

끝점

GET https://calculator.free/api/v1/permutation/

curl

curl "https://calculator.free/api/v1/permutation/?n=10&r=3"

JavaScript fetch()

const r = await fetch(
  "https://calculator.free/api/v1/permutation/?" + new URLSearchParams({
    "n": "10",
    "r": "3"
  }));
const data = await r.json();
console.log(data.results);

결과는 재정, 의료 또는 세금 조언이 아닌 일반적인 지침을위한 추정치입니다.