skip to content

What does row n of Pascal's triangle tell a lead choosing k for a k-of-n approval rule?

level: principalimportance: should knowfreq 24%

answer

  1. read the whole row, not one entry
  2. the row is a mirror about its middle
  3. neighbouring entries have a simple ratio
  4. the row totals every possible subset
  5. group count is not availability

basics

~20 s

The row lists how many distinct k-member approver groups each choice of k admits. It is mirror-symmetric, rises to a peak near k = n/2, and totals 2^n. It sizes the space of approving groups - it says nothing about how strict or how satisfiable the rule is.

solid answer

~50 s

Entry k of row n is C(n, k): the number of distinct groups that could satisfy a k-of-n rule. Three features of the row carry information. It is **symmetric**, because naming the k approvers is the same act as naming the n - k left out. It **rises then falls**, peaking near the middle, since consecutive entries stand in the ratio (n - k)/(k + 1), which drops below 1 once k passes roughly half of n. And the whole row **sums to 2^n**, every subset of the roster. What that gives a lead is a sense of how the space of approving groups changes with k - and the discipline to notice what it omits. A larger count does not mean the rule is easier to meet: a 5-of-10 rule admits 252 groups against 45 for 2-of-10, yet it is strictly harder to satisfy. The count also treats engineers as interchangeable, which is exactly where expertise, availability and review quality have to take over.

go deeper

for a junior

Know that C(n, k) counts the distinct groups of k people that could approve, and that this count is largest for a middling k rather than for the strictest setting.

for a middle

Explain the row's three structural facts - mirror symmetry, a single peak set by the ratio (n - k)/(k + 1), and a total of 2^n - and check them against a concrete row such as n = 10.

for a senior

Separate the count from satisfiability out loud. Being able to say that 252 groups at k = 5 coexist with a harder rule than 45 groups at k = 2 is the distinction the question is really testing.

for a principal

Own the handover. State what the counting model assumes - interchangeable engineers, independent availability - and which of the real inputs it cannot see, then say what evidence would actually settle the choice of k.

## What the row is Row n of Pascal's triangle is the list C(n,0), C(n,1), ..., C(n,n). Under a k-of-n approval rule, entry k is the number of **distinct minimal approving groups**: how many different sets of k people could, between them, satisfy the rule. Row 10 reads 1, 10, 45, 120, 210, 252, 210, 120, 45, 10, 1 and totals 1024, which is 2^10. | k | approving groups C(10,k) | share of all 1024 subsets | |---|---|---| | 1 | 10 | about 1.0% | | 2 | 45 | about 4.4% | | 3 | 120 | about 11.7% | | 5 | 252 | about 24.6% | | 9 | 10 | about 1.0% | | 10 | 1 | about 0.1% | ## Three facts the row carries 1. **It is a mirror.** C(n,k) = C(n,n-k), because choosing the k approvers and choosing the n - k people left out are the same act described from two ends. The counts at k and n - k are therefore equal - which says nothing about the two rules being equally strict, since one needs half a person more than the other in every practical sense. 2. **It rises, peaks, and falls.** Neighbouring entries stand in the ratio C(n,k+1)/C(n,k) = (n-k)/(k+1). That ratio exceeds 1 while k is below about (n-1)/2 and falls below 1 afterwards, so the row has a single peak near the middle. For n = 10 the ratio at k = 4 is 6/5, giving 252 above 210; at k = 5 it is 5/6, and the row turns over. 3. **It totals 2^n.** Every subset of the roster appears in exactly one entry, so the row is a partition of the whole space of possible approver groups by size. The middle entry alone carries about a quarter of that space at n = 10, and the three central entries carry 672 of 1024, roughly 66%. ## What the count does and does not decide This is where the mathematics hands off, and a lead's job is to notice the handover rather than quote the number past it. - **A larger group count is not an easier rule.** 5-of-10 admits 252 approving groups and 2-of-10 admits 45, yet meeting the first requires five people and the second two. The count measures how many shapes the answer can take, not the chance any one shape materialises. - **What you actually care about is whether some approving group is available.** If each engineer is independently around with probability q, the row weighted by q^k(1-q)^(n-k) totals exactly 1, by the binomial theorem with those two symbols - the weights redistribute the same row, they do not enlarge it. Satisfiability falls as k rises, monotonically, in the opposite direction to the group count over the first half of the row. - **The model assumes interchangeable people.** C(n, k) treats every engineer as identical. Real rosters have one person who understands the subsystem, two on the same time zone, three who will be on leave in the same week. Correlated unavailability is invisible to the count and usually dominates the outcome. - **Strictness is about who can be bypassed, not about how many groups exist.** At k = 1 there are n approving groups and any single compromised account suffices; at k = n there is exactly one group and every holdout is a stoppage. Those are risk statements, and the row does not rank them. ## How the row still earns its place in the discussion Used honestly, it does three jobs: 1. It gives the **shape** of the trade-off - the space of approving groups grows fastest at the ends, where (n - k)/(k + 1) is far from 1, so the first step up from k = 1 changes the structure of the rule much more than a step near the middle does. 2. It puts a **ceiling** on any argument that depends on enumerating approving groups, since the whole row is bounded by 2^n; a review process that wants to reason about every possible coalition does not scale past a small roster. 3. Its **symmetry** is a useful sanity check when someone proposes describing the rule by its holdouts instead of its approvers. The two descriptions have identical counts, so a claim that one framing has more options is wrong on its face. ## The judgment to demonstrate The defensible position is narrow: the row sizes a space, and sizing a space is a small input to a policy whose real inputs are availability, expertise, blast radius and the cost of a stalled change. A lead who quotes 252 as evidence that 5-of-10 is flexible has read the mathematics correctly and applied it to the wrong question. A lead who says the count is maximal in the middle, and that this fact does not bear on satisfiability, has drawn the line in the right place.

  • Where does row n peak, and what makes the peak land there?
    Near k = n/2. Consecutive entries stand in the ratio (n - k)/(k + 1), which is above 1 while k is below roughly (n - 1)/2 and below 1 afterwards, so the row climbs to the middle and then falls. For n = 10 the ratio is 6/5 at k = 4, lifting 210 to 252, and 5/6 at k = 5, turning the row over.
  • The whole row sums to 2^n - what does that total mean for the approval rule?
    It is every subset of the roster, so the row is the full space of possible approver groups partitioned by size. Practically it is a ceiling: any process that wants to reason about all possible coalitions faces 2^n of them, which stops being tractable on a roster of any size and rules out enumeration as a design technique.
  • What does the symmetry of the row actually say about a k-of-n rule, and what does it not say?
    It says the number of ways to name k approvers equals the number of ways to name the n - k holdouts, because those are one act described from two ends. It does not say a k-of-n rule and an (n-k)-of-n rule are equally strict, equally available or equally risky - equal counts, different meanings.

saying these in an interview costs you the question

  • Says a larger group count means the rule is easier to satisfy
  • Thinks the entries grow steadily as k increases
  • Assumes the peak sits at k = n, the strictest setting
  • Believes the row total depends on the chosen k
  • Forgets the count treats every engineer as interchangeable
  • Reads equal counts at k and n-k as equal strictness