Round #1020

19 May 2026, 10:25· math· Meta-Llama-3.3-70B-Instruct· r13-clean-hints
Complexity
band 0
ZP / UO / OBS
3 / 0 / 1
Journey weight
332
Lightshift ΔL

Prompt

Explain the difference between a permutation and a combination. When would a student choose one over the other?

Zero-point index (what the engine surfaced)

ZPI-ZPI-0017 | 2026-05-19T10:25:15Z Explain the difference between a permutation and a combination. When would a student choose one over the other? ZERO POINT — 3 entries (structural invariants) ● hsl(123.87, 100%, 15%) P(n,k) = n!/(n-k)! permutations [contract] ● hsl(115.54, 100%, 15%) C(n,k) = n!/(k!(n-k)!) combinations [contract] ● hsl(45.86, 100%, 15%) multiplication principle for independent choices [contract] UNOBSERVED — 0 entries (implied truths) OBSERVED — 1 entries (explicit in request) ◉ hsl(37.95, 100%, 22%) when [feature] COMPLEXITY │ 4 entries │ spread: 0° │ band: LOW

Baseline response (no ZPI)

**Permutations vs Combinations** ===================================== In mathematics, permutations and combinations are two fundamental concepts used to calculate the number of ways to arrange or select items from a set. The key difference between them lies in the order of selection and whether repetition is allowed. ### Permutations * A permutation is an arrangement of items in a specific order. * The order of selection matters, meaning that the same items in a different order are considered different permutations. * Permutations can be calculated using the formula: `n! / (n-r)!`, where `n` is the total number of items, `r` is the number of items being selected, and `!` denotes factorial. ### Combinations * A combination is a selection of items without regard to order. * The order of selection does not matter, meaning that the same items in a different order are considered the same combination. * Combinations can be calculated using the formula: `n! / (r!(n-r)!)`, where `n` is the total number of items, `r` is the number of items being selected, and `!` denotes factorial. **Choosing Between Permutations and Combinations** --------------------------------------------------- A student would choose one over the other based on the specific problem requirements: * **Use permutations when:** * The order of selection matters (e.g., arranging people in a line, scheduling tasks). * The items are distinct, and the order of selection affects the outcome (e.g., password creation). * **Use combinations when:** * The order of selection does not matter (e.g., selecting a team from a group of people, choosing items from a menu). * The items are not distinct, or the order of selection does not affect the outcome (e.g., selecting a subset of items from a larger set). **Example Use Cases** -------------------- * **Permutation example:** A student is arranging 3 books on a shelf. The order of the books matters, so the student would use permutations to calculate the number of possible arrangements: `3! = 6` (3 books can be arranged in 6 different ways). * **Combination example:** A student is selecting 2 books from a set of 5 books to read. The order of selection does not matter, so the student would use combinations to calculate the number of possible selections: `5! / (2!(5-2)!) = 10` (5 books can be selected in 10 different combinations of 2 books). In summary, permutations are used when the order of selection matters, while combinations are used when the order of selection does not matter. By understanding the difference between these two concepts, students can choose the correct approach to solve problems involving arrangements and selections. Here is a simple C# code snippet that calculates permutations and combinations: ```csharp using System; public class Program { public static void Main() { Console.WriteLine("Permutations: " + Permutation(3, 3)); Console.WriteLine("Combinations: " + Combination(5, 2)); } public static long Permutation(int n, int r) { if (r > n) return 0; long result = 1; for (int i = n; i > n - r; i--) { result *= i; } return result; } public static long Combination(int n, int r) { if (r > n) return 0; long result = 1; for (int i = 1; i <= r; i++) { result = result * (n - i + 1) / i; } return result; } } ``` This code calculates the permutations and combinations using the formulas mentioned earlier and prints the results to the console.

Enhanced response (with ZPI)

In mathematics, a permutation and a combination are two types of arrangements of objects, differing in whether the order of the objects matters. A permutation is an arrangement of objects in a specific order, where the order of the objects is significant. The number of permutations of n objects taken k at a time is given by the formula P(n,k) = n!/(n-k)!. For example, if we have three letters: A, B, and C, the permutations of these letters taken two at a time are AB, AC, BA, BC, CA, and CB. On the other hand, a combination is an arrangement of objects without regard to their order. The number of combinations of n objects taken k at a time is given by the formula C(n,k) = n!/(k!(n-k)!). Using the same example as above, the combinations of the letters A, B, and C taken two at a time are AB, AC, and BC. A student would choose to use permutations when the order of the objects is important, such as when arranging people in a line or scheduling tasks in a specific order. In contrast, a student would choose to use combinations when the order of the objects does not matter, such as when selecting a team from a group of people or choosing a subset of items from a larger set. For instance, if a student is trying to determine the number of ways to select 3 books from a shelf of 10 books, they would use combinations (C(10,3)). However, if they are trying to determine the number of ways to arrange 3 books on a shelf in a specific order, they would use permutations (P(10,3)). In summary, the key difference between permutations and combinations lies in whether the order of the objects is significant, and the choice between the two depends on the specific problem being solved. Here is a simple C# code snippet that calculates permutations and combinations: ```csharp using System; public class Program { public static void Main() { Console.WriteLine("Permutations: " + Permutation(10, 3)); Console.WriteLine("Combinations: " + Combination(10, 3)); } public static double Permutation(int n, int k) { double result = 1; for (int i = n; i > n - k; i--) { result *= i; } return result; } public static double Combination(int n, int k) { double result = 1; for (int i = 1; i <= k; i++) { result = result * (n - i + 1) / i; } return result; } } ```

Grader chain

Each grader reads the same baseline + enhanced pair and casts an independent verdict. Disagreement is the framework's own signal — not noise to be averaged away.

V1samba/Meta-Llama-3.3-70B-Instruct
Better
V4qwen2.5-coder-3b-instruct
Better
V5cerebras/qwen-3-235b-a22b-instruct-2507
Same
V7qwen2.5-coder-7b-instruct
Better
V8openai/gpt-4.1
Same
V9anthropic/claude-opus-4-7
Worse
V12openai/gpt-4o
Same

Comments

Our grader said what it said. What do you say? Comment as a guest below.

No comments yet. Be the first to say what you make of this round.

← back to all rounds