← All 70 questions
Question 8·Trinity College·2025·The statement is one line and the proof is short, but the marks are in reading 'any n consecutive integers' literally (negative and zero starts included), avoiding the false one-term-per-divisor argument, and showing n! is the best possible divisor.
Products of consecutive integers: proving n! divides any run of n of them by two independent routes - the quotient is a binomial coefficient, and prime by prime the run supplies at least the exponents of n!.
About six minutes on the board: quantifiers, two routes, one factorised run, twenty exact checks, sharpness and generalisation.
Live video, shared whiteboard. Everything under BOARD is written with the pen; everything under SAY is spoken over it, at the same time. Never write a line in silence, and never say a line you have not put on the board.
Prove that the product of any n consecutive integers is always divisible by n!
Answer: n!|m(m+1)⋯(m+n−1) for every m∈ℤ and n≥1, because m(m+1)⋯(m+n−1)n!=(m+n−1n) counts n-subsets, and equivalently vp(product)≥∑k≥1⌊n/pk⌋=vp(n!).

The whiteboard, beat by beat

1 · Orient · beat 1 of 7

Name the run, then read the two quantifiers literally

consecutive run: P(m,n)=m(m+1)⋯(m+n−1), m∈ℤ
Claim: n!|P(m,n)for every m∈ℤ, n≥1
divisibility: P(m,n)=n!q for some q∈ℤ
n varies: infinitely many claims
base case: P(1,8)=40320=8!, quotient 1
What you say, out loud

First I write down the object: a run of n consecutive integers starting at m, so the product runs from m up to m plus n minus 1 and that is n factors.

The claim is that n factorial divides that product, and I want to say honestly what the two quantifiers are: every integer m, every positive n.

Divisibility here is a statement in the integers, so the quotient is allowed to be zero or negative - that costs nothing later and saves an argument.

Because n is a variable this is not one claim but infinitely many, so examples can only guide me, never finish the job.

I do note the shape of the smallest case: at m equals 1 and n equals 8 the product is 40320 which is exactly 8 factorial, with a quotient of just 1.

Why this beat exists: Reads both quantifiers out loud before choosing a method, and commits to integer starts rather than quietly assuming m is positive.
2 · Set up · beat 2 of 7

Two routes: count the quotient, or count prime exponents

Route A: q=P(m,n)/n!=(m+n−1n) counts subsets
Route B: vp(P(m,n))≥vp(n!), every prime p
vp(n!)=∑k≥1⌊npk⌋=n−sp(n)p−1,sp(n)=digit sum of n in base p
B input: ≥⌊n/pk⌋ multiples of pk per run
machine check: 55 pairs, 1≤n≤15, prime p≤n, 0 disagreements
What you say, out loud

There are two ways through this and I want both, because they fail differently.

Route A never mentions primes: I claim the quotient is the binomial coefficient m plus n minus 1 choose n, and a binomial coefficient counts subsets, so it is a whole number.

Route B goes into the integers prime by prime: I compare the exponent of p in the product with the exponent of p in n factorial, and for that exponent in n factorial I use the Legendre sum of floors, which equals n minus the digit sum of n in base p, all over p minus 1 - and that identity is exact.

The input Route B needs is almost trivial to believe: in n consecutive integers the multiples of any d come within one of every d-th slot.

Before trusting the exponent formula I checked it three ways on the machine for all 55 pairs with n up to 15 - floor sum, digit-sum form, and factoring n factorial directly - and they agree everywhere.

Why this beat exists: Sets up two routes that share no step; the digit-sum form of Legendre is named because it is what makes the bound look sharp.
3 · Draw · beat 3 of 7

One concrete run, fully factorised: 8 through 13

P(8,6)=8⋅9⋅10⋅11⋅12⋅13=1235520=263351113
6!=720=24325
factor 5: only 10=2⋅5, carries a 2 too
exponents collected across run
prime power, not divisor
the run 8..13 = P(8,6)89101112132x2x23x32x5112x2x313only multiple of 5product: 2^6 x 3^3 x 5 x 11 x 136! = 2^4 x 3^2 x 5 = 720v_2: 3+0+1+0+2+0 = 6v_3: 0+2+0+0+1+0 = 3multiples of 4 in the run: 8 and 12exponents collected across the whole run
The run 8,…,13 factorised term by term: the product carries 26, 33 and 5, and 6!=24325, so every exponent of 6! is covered even though no single term is divisible by 6! and only one term, 10, supplies the factor 5.
What you say, out loud

Rather than wave at the general case I draw one run that is deliberately awkward: eight through thirteen, six consecutive integers.

Factoring term by term - 8 is 2 times 2 times 2, 9 is 3 times 3, 10 is 2 times 5, then 11, then 12 is 2 times 2 times 3, then 13 - the product is 1235520 which is 2 to the 6 times 3 to the 3 times 5 times 11 times 13.

And 6 factorial is 720 which is 2 to the 4 times 3 to the 2 times 5 - reading the two lines against each other, every exponent of 6 factorial is present in the product.

Notice where the factor 5 comes from: only 10 is a multiple of 5, and 10 is doing double duty, since it also supplies a factor 2 to the product.

That is the picture I want in mind for the general proof: the exponents are collected across the whole run, and no term has to be divisible by 6 factorial - here none of them is.

The real divisibility question is per prime power, not per divisor.

Why this beat exists: The drawing is the counterexample factory for the naive argument: one term per divisor is visibly impossible here.
4 · Compute · beat 4 of 7

The exponent count, and the floor bound that pays for it

p235vp(P(8,6))631vp(6!)421slack+2+10
multiples of d per run: ⌊n/d⌋ or ⌈n/d⌉
Measured at n=6 over all starts: d=2→3, d=3→2, d=4∈{1,2}, d=5∈{1,2}, d=6→1
vp(P)=∑k≥1#{terms≡0 (mod pk)} ≥ ∑k≥1⌊n/pk⌋=vp(n!)
sweep: m=−40,…,40
lengths n∈{2,3,4,5,6,7,8,9,10,12,15,20}
zero-free runs: min slack 0
exponents: product vs 6!v_p(P(8,6))v_p(6!)643211p=2p=3p=5every exponent of 6! is covered28 px per unit
The measured shape of the inequality that proves the theorem: at p=2 the run 8,…,13 supplies 6 copies of the prime against 4 in 6!, at p=3 it supplies 3 against 2, and at p=5 exactly 1 against 1 - no prime is short, and the general proof is that vp of any run dominates the Legendre floor sum ∑k⌊n/pk⌋ for every p.
What you say, out loud

Now the count. The exponent of p in the product is the sum over its terms, and each term contributes the number of times p to the k divides it, so I can regroup by k and count multiples of p to the k inside the run.

In n consecutive integers the multiples of d are spaced d apart, so their number is the floor of n over d or the ceiling of n over d - never below the floor. I checked that exhaustively at n equals 6: for d equals 4 and d equals 5 both values occur, and for d in 2,3,6 only one value occurs.

Combining those two lines gives the exponent of p in the product at least the floor sum, and the floor sum is exactly the exponent of p in n factorial.

For this run the measured slacks are plus 2 at p equals 2, plus 1 at p equals 3 and 0 at p equals 5 - the tight prime is the one with a single multiple in the run.

And I swept it: starts from minus 40 to 40 at the lengths 2 to 10 and also 12 and 15 and 20 - comparing exponents prime by prime, and no zero-free run came out short. The minimum slack is 0 at every prime, so the bound is met exactly somewhere, which is what one expects.

Why this beat exists: The p^2 and higher layers are the whole difficulty: counting only multiples of p gives floor(n/p), which falls below v_p(n!) as soon as p^2 <= n - measured at n=6, p=2 it is 3 against 4.
5 · Check numerically · beat 5 of 7

Twenty exact runs, including the ones people skip

mnP(m,n)n!P/n!12221232464343602415653024012025286123552072017161153603601203003
Big case: P(97,7)=99860048996400, 7!=5040, quotient 19813501785=(1037)
remainder mod n!: 0 in all 20 runs
each quotient equals (m+n−1n)
Runs through 0: P(−2,5)=0=120⋅0 and P(−4,8)=0=40320⋅0; negative starts: P(−3,3)=−6=6⋅(−1), P(−8,4)=1680=24⋅70
edge n=1: P(m,1)=m, 1!=1
What you say, out loud

Before I commit to either proof I run the arithmetic exactly - integers, no floating point - on twenty runs, and the remainder is zero in every one.

The quotients run 1 and 4 and 15 and 252 and 1716 and 3003 for the small positive runs, and the same identity holds at m equals 97 and n equals 7: the product is 99860048996400 over 5040 giving 19813501785 exactly.

I deliberately include the runs people skip: minus 2 through 2 contains zero, so the product is 0, and 0 is divisible by 120 because 0 is 120 times 0; and minus 3 times minus 2 times minus 1 is minus 6, which is 6 times minus 1.

At n equals 1 the theorem says 1 divides m, which is true with quotient m itself - the base case is not a special case that needs excluding.

Every quotient I measured also equals m plus n minus 1 choose n, which is the hint that Route A is not an analogy but an identity.

Why this beat exists: Zero and negative starts are tested rather than exempted; the quotient identity is checked, not assumed.
6 · Justify · beat 6 of 7

Why the quotient is an integer: it counts something

P(m,n)n!=(m+n−1)!(m−1)!n!=(m+n−1n)(m≥1)
counts n-subsets: a non-negative integer
paths (0,0)→(5,7): (125)=792; P(8,5)=95040=120⋅792
(125)=(115)+(114)=462+330=792
m≤0: both sides polynomials in m
generalised coefficients: (−13)=−1, (−54)=70
paths (0,0) to (5,7)(0,0)(5,7)5 right, 7 upone path = one 5-subsetcount = C(12,5) = 792= P(8,5) / 5!C(12,5) = C(11,5) + C(11,4) = 462 + 330
The quotient is a count, not a formula: monotone paths from (0,0) to (5,7) are in bijection with 5-element subsets of a 12-element set, so (125)=792 is a non-negative integer - and it is exactly P(8,5)/5!=95040/120, which is why divisibility by n! needs no prime-by-prime work to be believed.
What you say, out loud

Here is the proof I would actually hand in. For m at least 1 the run is a quotient of factorials: the product is the factorial of m plus n minus 1 over the factorial of m minus 1, so dividing by n factorial gives m plus n minus 1 choose n.

And that is not an algebraic curiosity - it is a count. It is the number of ways to choose n elements out of m plus n minus 1 - and a number of ways is a non-negative integer, so n factorial divides the product by definition of that word.

The same integer appears as a path count: choosing which 5 of the 12 steps go right gives 12 choose 5 equals 792 monotone paths from the origin 0,0 to the far corner 5,7; and 792 is exactly the quotient for the run 8 through 12 whose product 95040 equals 120 times 792.

Pascal's identity is the internal consistency check: 462 plus 330 makes 792 - the recursion the counts obey is the recursion the quotients obey.

For m at most 0 I do not restart: both sides are polynomials in m that agree at infinitely many points, so they agree everywhere, and the generalised binomial coefficient hands back minus 1 for minus 1 choose 3 and 70 for minus 5 choose 4 - exactly the measured quotients.

Why this beat exists: The counting reading is the point of the question; the polynomial identity is what makes the negative starts free instead of a separate case.
7 · Conclude and generalise · beat 7 of 7

The theorem, the sharp boundary, and what the proof really used

n! | m(m+1)⋯(m+n−1)for all m∈ℤ, n≥1
Sharp: gcdm⁡P(m,n)=n! measured for n=1,…,10: 1,2,6,24,120,720,5040,40320,362880,3628800
the bound n! cannot be improved
any common divisor divides P(1,n)=n!
2∤1,6∤2,720∤120
growth: 20! has 19 digits, 50! has 65, 100! 158
used: only consecutiveness
What you say, out loud

So the theorem is proved twice over: the quotient is a binomial coefficient, hence an integer, and independently every prime exponent in the run dominates the corresponding exponent of n factorial.

I want to say the result is best possible rather than just true. I took the gcd of the products over all starting points from minus 60 to 60 for each n up to 10 and got exactly 1,2,6,24,120,720,5040,40320,362880,3628800 - which is n factorial every time.

That is also clear structurally: the run 1 through n is itself one of the runs, and its product is exactly n factorial, so no larger fixed integer can divide all of them - 6 does not divide 2 and 720 does not divide 120 either.

For scale, the divisor I am proving divisibility by is not small: 20 factorial already has 19 digits, 50 factorial has 65 and 100 factorial has 158 of them.

And generalising: the same two arguments show m plus n minus 1 choose n is an integer for negative m too, and the only property of the run I ever used is that multiples of any d occur floor of n over d or ceiling of n over d times - which is exactly what breaks if the integers are merely distinct rather than consecutive.

The only property I ever used is consecutiveness - never positivity, and never that n itself is prime.

Why this beat exists: Closes with the statement, a measured sharpness result (gcd = n!), and the honest boundary: drop consecutiveness and the floor count fails.

Where the interviewer pushes next

“Is n! really the best possible divisor, or could something larger divide every such product?”
What you say, out loud

It is exactly best possible, and there are two ways to see it.

Computationally I took the gcd over all starting points for each n up to 10 and got n factorial itself, whether I ranged over negative starts or only positive ones.

Conceptually it is even simpler: the run 1 through n is one of the runs being quantified over, and its product is n factorial, so any divisor of all products divides n factorial. Asking for the factorial of n plus 1 already fails at n equals 1, where 2 does not divide 1.

gcdm⁡P(m,n)=n!: n=1..10, m=−60..60, m=1..200
run 1,…,n: product n!, so divisor |n!
(n+1)! fails immediately: 2∤1, 6∤2, 24∤6, 120∤24, 720∤120
“Can you prove it by induction on n instead of counting subsets?”
What you say, out loud

Yes, and it is really the same proof wearing a different hat.

The quotient for length n plus 1 is not a multiple of the quotient for length n in any obvious way, but Pascal's identity expresses it as a sum of two binomial coefficients, and a sum of integers is an integer.

Concretely 1716 is 924 plus 792 exactly, as I checked, and the base case n equals 1 is the trivial fact that 1 divides m.

The honest caveat is that Pascal's identity itself is usually proved by counting subsets, so the induction does not escape the combinatorial content - it just hides one step of it.

Induction step is Pascal: (m+nn+1)=(m+n−1n+1)+(m+n−1n)
Measured: (136)=(126)+(125), i.e. 1716=924+792
base n=1: P(m,1)=m, 1!=1
“What if the integers are distinct but not consecutive - does the same argument survive?”
What you say, out loud

No, and the failure is immediate: 1 and 3 are distinct integers, their product is 3, and the factor 2! equals 2 does not divide 3 - and that is not one of the claims the theorem makes.

Some choices of distinct integers do work - 1 times 4 is 4, which is divisible by 2 - so the property is genuinely about the pattern of residues, not about the number of factors.

In the exponent proof the only thing I used was that a run of length n contains floor of n over d or ceiling of n over d multiples of d; the set 1,3,5,7,9 contains no multiple of 2 at all, so the count collapses.

In the counting proof, the quotient is a binomial coefficient only because the terms are consecutive - that is what turns a product into a ratio of factorials.

No: 1⋅3=3, 2!=2 does not divide 3
1⋅4=4 divisible by 2: distinctness is luck
count breaks: {1,3,5,7,9}, no multiple of 2
a run of 5 has ⌊5/2⌋=2
and why P(m,n)/n! is a binomial coefficient

Traps on this question

  • Proving only the run 1,…,n: P(1,n)=n! has quotient 1 and says nothing about m=8,n=6, where the quotient is 1716 - the length is not the difficulty, the starting point is.
  • Matching each k∈{2,…,n} to a distinct term of the run divisible by k: at m=8,n=6 every k from 2 to 6 does divide some term, yet the matching has 0 solutions - 10 is forced for 5 and 12 for 6, which forces 8 for 4 and 9 for 3, leaving only 11 and 13 for 2.
  • Counting only multiples of p and forgetting p2: v2(6!)=⌊6/2⌋+⌊6/4⌋=3+1=4, and at n=100 the same sum is 50+25+12+6+3+1=97, so the naive count underestimates the target exponent.
  • Silently assuming m≥1: the printed statement says any n consecutive integers, and P(−3,3)=−6=6⋅(−1), P(−2,5)=0=120⋅0 are covered by the same identity - if the proof needs m≥1 it has to say so and then extend.
  • Writing (m+n−1)!(m−1)!n! and calling it an integer because it looks like a binomial coefficient: that expression is undefined for m≤0, and the integrality is the whole content of the theorem, not a property of the notation.

What gets written on the assessor’s form

  • The candidate stated the quantifiers explicitly and committed to a proof covering negative and zero starting points before choosing a method.
  • The candidate gave two independent proofs - the binomial coefficient as a count of subsets, and the prime-by-prime exponent comparison via Legendre's floor sum.
  • The candidate named and refuted the tempting one-term-per-divisor argument with the run 8 to 13, where the forced choices leave no term for 2.
  • The candidate reported exact computed values, including the zero run and the negative runs, rather than asserting that the edge cases behave.
  • The candidate closed with sharpness, reporting that the gcd over all runs equals n!, so the divisor cannot be improved.