Máy tính kết hợp (nCr) Name
Đếm số cách chọn r mục từ n khi thứ tự không quan trọng.
Kết quả cập nhật khi bạn gõ.
Về máy tính này
combination counts how many ways you can choose r items from a set of n when order does not matter — picking the same group in a different sequence counts once. This calculator returns the exact count, the formula, and the matching number of ordered arrangements (nPr) for comparison. This calculator returns the exact count, the formula, and the matching number of ordered arrangements (nPr) for comparison. This calculator returns the exact count, the formula, and the matching number of ordered arrangements (nPr) for comparison. nCrCombinationCombinations answer "how many groups?" — the odds in a lottery, the number of possible five-card poker hands, ways to pick a committee, or terms in Pascal's triangle. nCrCombinationsCombinations answer "how many groups?"CombinationsCombinations answer "how many groups?" — the odds in a lottery, the number of possible five-card poker hands, ways to pick a committee, or terms in Pascal's triangle. nCrCombinationsCombinationsCombinationsCombinationsCombinationsCombinationsCombinationsCombinationsCombinationsCombinationsCombinationsCombinationsCombinationsCombinationsCombinationsCombinationsCombinationsCombinationsCombinationsCombinationsCombinationsCombinationsCombinationsCombinationsCombinationsCombinationsCombinationsCombinationsCombinationsCombinationsCombinationsCombinationsCombinationsCombinationsCombinationsCombinationsCombinationsCombinationsCombinationsCombinationsCombinationsCombinationsCombinationsCombinationsCombinationsCombinationsCombinationsCombinationsCombinationsCombinationsCombinationsCombinationsCombinationsCombinationsCombinationsCombinationsCombinationsCombinationsCombinationsCombinationsCombinationsCombinationsCombinationsCombinationsCombinationsCombinationsCombinationsCombinationsCombinationsCombinationsCombinationsCombinationsCombinationsCombinationsCombinationsCombinationsCombinationsCombinationsCombinationsCombinationsCombinationsCombinationsCombinationsCombinationsCombinationsCombinationsCombinationsCombinationsCombinationsCombinationsCombinationsCombinationsC
Câu hỏi thường gặp
Công thức tổng hợp là gì?
nCr = n! / (r! × (n − r)!). Đối với 10 mục được lấy 3 lần: 120 nhóm khác nhau.
Tại sao nCr nhỏ hơn nPr?
Các tổ hợp bỏ qua thứ tự, vì vậy mỗi nhóm không có thứ tự tương ứng với r! thay đổi có thứ tự. Đó là lý do tại sao nCr = nPr ÷ r!.
Khi nào tôi nên dùng kết hợp?
Khi thứ tự không quan trọng: số xổ số, một tay bài, chọn một ủy ban, hoặc bất kỳ lựa chọn nào mà nhóm là điều được tính, không phải là sắp xếp của nó.
Số liệu của một hệ số nhị thức là gì?
Nó là một tên khác cho nCr, giá trị "n chọn r" xuất hiện trong định lý hai phần và tạo thành các mục của tam giác Pascal.
Điều gì là nC0 hay nCn?
Cả hai đều bằng 1 — có một cách để chọn không một cái nào, và một cách để chọn tất cả chúng.
Công cụ này có thể hiển thị các biến đổi không?
Có. Nó cho thấy nPr = nCr × r! bên cạnh sự kết hợp để bạn có thể so sánh số lượng có thứ tự và không có thứ tự.
API — dùng máy tính này từ mã
Gọi máy tính này như một điểm cuối JSON miễn phí — không cần chìa khóa. Gửi giá trị trường dưới như tham số yêu cầu hoặc JSON. Đọc toàn bộ tài liệu API →
Điểm kết thúc
GET https://calculator.free/api/v1/combination/
curl
curl "https://calculator.free/api/v1/combination/?n=10&r=3"
JavaScript fetch()
const r = await fetch(
"https://calculator.free/api/v1/combination/?" + new URLSearchParams({
"n": "10",
"r": "3"
}));
const data = await r.json();
console.log(data.results);
Kết quả là ước tính chỉ cho hướng dẫn chung, không phải là tư vấn tài chính, y tế hoặc thuế.