Tính hoán vị và tổ hợp

Tính nPr, nCr và giai thừa.

Chạy trong trình duyệt của bạn. Tệp không bao giờ rời khỏi thiết bị. Xem cách tự kiểm tra

…

Cách thực hiện

  1. 1
    Điền vào các ô

    Nhập số của bạn hoặc chọn các tùy chọn cần thiết.

  2. 2
    Xem kết quả

    Câu trả lời cập nhật ngay khi bạn thay đổi giá trị.

  3. 3
    Sử dụng

    Sao chép kết quả hoặc ghi lại. Không có gì được gửi đi đâu cả.

About this tool

Enter n, the number of items, and r, how many you choose. You get nPr (permutations), nCr (combinations), n factorial, and the counts when repeats are allowed. Handy for probability, schedules and lottery questions.

When to use it

Work out nPr, nCr and factorials.

Tips

Order matters for permutations, not for combinations.

Privacy

Everything runs in your browser, so your data is not uploaded or stored.

Choosing the right one

Use permutations when the order matters, such as a race podium or a PIN. Use combinations when it does not, such as choosing a committee. nCr is always smaller than or equal to nPr.

Ví dụ có lời giải

With the boxes at their starting values (n (total items): 10; r (items chosen): 3), the tool shows: n factorial (n!): 3,628,800; Permutations with repetition (nʳ): 1,000; Combinations with repetition: 220; Permutations nPr: 720; Combinations nCr: 120. Change any box to see your own numbers. The result updates as you type, and nothing leaves your browser.

Mẹo để có kết quả tốt nhất

Kiểm tra từng ô trước khi tin vào kết quả, vì một con số sai sẽ làm thay đổi toàn bộ đáp án. Dùng số chính xác từ phiếu lương, hóa đơn, chứng chỉ hoặc hợp đồng và ghi lại ngày bạn tính. Mức thuế, ngưỡng và quy tắc thay đổi theo thời gian, vì vậy với thuế, phí và vấn đề pháp lý hãy coi kết quả là ước tính và đối chiếu với nguồn chính thức nêu trên trang. Bạn có thể thử bao nhiêu kịch bản tùy ý; không có gì được lưu hay gửi đi, tải lại trang sẽ xóa các ô.

Tóm tắt

Nhúng máy tính này vào trang web của bạn

Sao chép mã này để hiển thị máy tính trên trang của bạn. Có kèm liên kết về shobfree.com.

Câu hỏi thường gặp

What is the difference between nPr and nCr?

nPr counts ordered arrangements. nCr counts groups where order does not matter, so it is always smaller or equal.

What are the limits?

n up to 170 and r not larger than n.

What is nCr?

The number of ways to choose r items from n without order.

What is nPr?

The number of ordered arrangements of r from n.

What is a factorial?

n! is the product of all whole numbers from 1 to n, for example 5! is 120.

Hoàn toàn miễn phíKhông phí, không đăng ký
Tệp luôn riêng tưMọi thứ chạy trong trình duyệt của bạn
Dễ dùng bằng ngôn ngữ của bạnCó nhiều ngôn ngữ