Mpikirakira Permutation (nPr)
Ny soratra n dia midika hoe n'ny soratra grika hoe ν.
Manova ny valin'ny fanoratanao.
Momba ity kapila ity
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.
Fanontaniana matetika
Inona no fahasamihafana misy eo amin'ny fifampizarana sy ny fifampizarana?
Raha ny amin'ny fiovàna, dia zava-dehibe ny filaharana (miova ny vokany ny voalohany, faharoa, fahatelo); raha ny amin'ny fampifangaroana, tsy izany. Misy foana ny fiovàna mitovy amin'ny fampifangaroana.
Inona no atao hoe fiovana?
nPr = n! / (n − r)!. Ho an'ny zavatra 10 raisina 3 isan-kerinandro: 10 × 9 × 8 = 720.
Rahoviana no tokony hampiasako ny permutation?
Raha zava-dehibe ny filaharana: ny filaharana ireo tonga farany, ny famenoana ny toerana voalohany/faharoa/fahatelo, ny fametrahana olona mipetraka an-tsehatra, na ny fananganana fitsipika voalamina.
Inona no mitranga raha lehibe noho ny n ny r?
Tsy afaka mametraka ireo zavatra mihoatra noho izay efa anao ianao, ka tsy voafaritra ny vokatra ary manome tsipika ilay fitaovana.
Inona no nP0?
Ny 1 dia 1 — misy fomba iray ihany hametrahana ny tsy misy, ny fametrahana ny foana.
Inona no atao hoe nPn?
Ny 4P4 dia mitovy amin'ny n!, satria ny fametrahana ny zavatra n rehetra amin'ny filaharana dia mitovy amin'ny famaritana feno. Ohatra 4P4 = 4! = 24.
API — mampiasa io milina fanisana io avy amin'ny rindran'asa
Antsoy ho toy ny farany JSON malalaka ity milina fanisana ity - tsy mila famaha. Mandefa ireo sanda eo amin'ny sehatr'asa etsy ambany ho toy ny mpizaratry ny fanontaniana na JSON. Ny zavatra tsy voalaza dia mampiasa ny sanda tsotra efa nameno ity pejy ity; 400 ny sanda tsy fantatra, tsy aotra tsy misy feo. Vakio ny tahirin-kevitra API feno →
Endpoint
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);
Ny voka-pikarohana dia natao ho an'ny torohevitra ankapobeny ihany, tsy torohevitra ara-bola, ara-pitsaboana na ara-bola.