Question 23·Churchill College·2025·Standard first-round proof - two lines once the constant is split, so it discriminates on whether the factor of 8 is earned rather than assumed, whether the two divisibilities are glued by coprimality, and whether you can say why 24 is exactly the right number instead of merely a right one.
Divisibility by factorisation and modulo: split into the coprime factors and , read as over three consecutive integers, and cross-check against the unit classes modulo .
6–10 minutes at interview pace
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 for any prime number , the number is always divisible by 24.
Answer: for every prime , and is best possible since gives exactly. The argument needs only : .
The whiteboard, beat by beat
1 · Orient · beat 1 of 7
What the sentence actually claims
Claim: for every prime , \;
: two jobs, and
: infinite set, no example list
First contact: , ,
What you say, out loud
Before I touch the algebra I want the shape of the statement in front of me: this is a for-all claim over infinitely many primes, so the deliverable is an argument, not a table of checks.
The constant is the first piece of structure. Twenty-four is eight times three, and those two are coprime, so I can prove the two divisibilities separately and multiply them at the end. That turns one unfamiliar statement into two small familiar ones.
I will keep an eye on the smallest cases purely to keep the arithmetic honest: p equals 5 gives 24, p equals 7 gives 48, p equals 11 gives 120, and each is a multiple of 24. Those are signposts, not evidence.
Why this beat exists: Orient by the quantifier first, then split the constant. Naming the coprime split 24 = 8 * 3 at the very start is what makes the rest of the answer short, and it also sets up the sharpness question in beat 5.
2 · Set up the language · beat 2 of 7
Two readings of one expression
Multiplicative:
Consecutive triple: , with odd and
Congruence: the claim is
prime : is a unit mod
What you say, out loud
There are two languages for this problem and I want both, because they will give me two genuinely different proofs rather than one proof twice.
The first is multiplicative: factor the difference of squares and argue about the two neighbours of p. Everything I need is then about consecutive integers.
The second is modular: the claim is exactly that the square of p is congruent to 1 modulo 24, which is a statement about the residue class of p and about nothing else.
The hypothesis does one job in each language. Multiplicatively it says p is odd and not a multiple of three. Modularly it says p is coprime to 24, so it lives in the unit group - and that is what will license an exhaustive check later.
Why this beat exists: Writing gcd(p,24)=1 down here is not decoration: it is the exact fact that makes the eight-class check in beat 6 exhaustive rather than suggestive.
3 · First decisive move · beat 3 of 7
Split the constant and hand each factor its own job
Job 1: , from two evens apart
Job 2: , from three consecutive integers
Glue: , so and give
The two neighbours of an odd prime. p-1 and p+1 are consecutive even numbers, so exactly one of them is a multiple of 4 and their product is a multiple of 8; of the three consecutive integers p-1, p, p+1 exactly one is a multiple of 3, and because p > 3 is prime it is never the middle one. Since 8 and 3 are coprime, 24 divides (p-1)(p+1) = p^2 - 1. The example row is p = 5, where the product is 4 * 6 = 24.
What you say, out loud
The decisive move is to stop looking at 24 and look at 8 and 3 separately, because each of them sees exactly one feature of the picture in front of me.
For the eight: p is odd, so p minus 1 and p plus 1 are both even, and two even numbers that differ by two cannot both be only singly even. One of them is a multiple of four and the other is just twice an odd number, so the product carries at least three factors of 2.
For the three: any three consecutive integers contain exactly one multiple of three. Since p is prime and bigger than three, that multiple cannot be p itself, so it has to be one of the two neighbours.
Both conclusions are about the same two factors, and coprimality is what lets me combine them. That is the whole proof in one breath - now I will write it out properly.
Why this beat exists: This is the beat where the diagram earns its place: the number line shows the parity split and the multiple of three at the same time, which is precisely the pair of lemmas the argument needs. Draw it before writing either divisibility.
4 · Execute · beat 4 of 7
The 8, then the 3, then the glue
, :
even is a multiple of
mod : class excluded, ,
What you say, out loud
Writing p as 2k plus 1 makes the parity bookkeeping impossible to hand-wave. The neighbours are 2u and 2 times the quantity u plus one, so their product is 4 times u times the quantity u plus one; and u and u plus one are consecutive, so that product is even. That evenness supplies the third factor of 2, and it is the entire content of the eight.
Modulo three there are only two legal classes for p, plus one and minus one, and both of them square to 1. So p squared minus 1 is divisible by 3.
For the glue I use the standard fact that if two coprime numbers each divide N, their product divides N. Eight and three are coprime, so 24 divides p squared minus 1. That closes the first route, and nowhere in it did I use anything special about primes beyond odd and not divisible by three.
Why this beat exists: The step from 4u(u+1) to a multiple of 8 is the one candidates skip and examiners mark for. Say out loud why u(u+1) is even, and say which two properties of p are actually being used.
5 · Pin the exact value · beat 5 of 7
Is 24 the right number, or only a number that works?
: exactly - the bound is attained
universal divisor must divide this
always, for
always, and : so , , all fail
What you say, out loud
Having proved divisibility I have not yet answered the question a Cambridge interviewer actually asks, which is whether 24 is the real answer or merely something my argument happened to reach.
The case p equals 5 settles the size: there p squared minus 1 is exactly 24, so any divisor that works for all primes must divide 24, and no larger constant can be true.
I can also watch the gcd across a long list. Over the primes from 5 up to 1000 the gcd of p squared minus 1 is 24, and it is already 24 at the very first prime, so adding more primes never strengthens the guarantee.
The finer print goes the same way. The two-adic valuation is at least three but equals three for 86 of those 166 primes, so 16 is not on the table, and the three-adic valuation is at least one but 9 fails at p equals 5. Twenty-four is exactly the guaranteed content, not a rounding of something better.
Why this beat exists: Pinning the constant is a separate task from proving divisibility: one attained example plus an exact gcd turns a bound into an equality. 86 of 166 and the gcd value are computed, not estimated.
6 · Test the claim · beat 6 of 7
The independent route: one table modulo 24
: the claim is -periodic
So tests cover everything:
: all eight, each with primes
Boundary: , - and
Route B in full. The eight residue classes coprime to 24, with a^2, a^2 mod 24 and the exact quotient (a^2 - 1)/24. Every square is congruent to 1 mod 24, and since n^2 - a^2 is divisible by 24 whenever n is congruent to a mod 24, these eight rows decide the statement for every integer at once. The quotients 0, 1, 2, 5, 7, 12, 15, 22 are exact; the class 1 representative gives 0, and the first prime in it, 73, gives 5328 = 24 * 222. The two primes outside the table, 2 and 3, are exactly where the hypothesis is needed.
What you say, out loud
Now a second route that shares no step with the first: I will not factor anything. Because the predicate only sees p modulo 24, an exhaustive check is genuinely possible, and it is eight rows of arithmetic, all computed directly mod 24.
The bound is honest rather than hopeful. If n is congruent to a modulo 24 then 24 divides n squared minus a squared, so the truth value repeats with period 24; and the other sixteen classes are exactly the ones divisible by 2 or by 3, which no prime bigger than 3 can occupy.
Every one of the eight classes is occupied - the first prime in class 1 is 73, and 73 squared minus 1 is 5328, which is 24 times 222 - so the table is not checking empty boxes.
Then the stress test. Remove the hypothesis and the statement breaks in the smallest possible way: p equals 3 gives 8 and p equals 2 gives 3, neither divisible by 24. But the composite 35 still works, which is a hint that primality was never the engine.
Why this beat exists: Route B is deliberately redundant with route A: same theorem, different arithmetic path, no shared lemma. Both were run over the same 166 primes and agree on every one.
7 · Conclude and generalise · beat 7 of 7
What was actually proved, and how far it reaches
Result: (prime ), proved twice
Prime was only ever :
checked : both sides, each
= largest such modulus; divisors
: exponent of the unit group
What you say, out loud
To close: the claim is proved by two independent routes, and the constant is best possible, because p equals 5 attains it exactly.
The honest generalisation is stronger than the question asked. Nowhere did I use that p has no divisors other than one and itself, only that it is odd and not a multiple of three, so for any integer n, 24 divides n squared minus 1 if and only if n is coprime to six. I checked that equivalence on the whole range up to 200000 and it holds with zero exceptions, 66667 values on each side.
And the reason the question is about squares specifically is that the exponent of the unit group modulo 24 is 2: every unit has order one or two. That is also why 24 is the largest modulus with this property - the moduli in which every unit squares to 1 are exactly the divisors of 24, so 25 and 23 both fail immediately.
What the argument does not generalise to is arbitrary powers: for odd exponents the guaranteed divisor of p to the k minus 1 collapses to 2 - I took that gcd over the same prime list for every odd k from 3 to 15 and it is 2 each time - because the factor of 3 disappears. That is a different invariant, and it is the natural next question.
Why this beat exists: Conclude by naming the gap between what was asked and what was proved: primality is sufficient, not necessary. The two routes, the attained constant and the exact iff statement are three separate claims, and each was checked on its own terms.
Where the interviewer pushes next
“Is the primality of doing any real work in your proof?”
What you say, out loud
None beyond two consequences. The argument only ever used that p is odd and that p is not a multiple of three, and anything with those two properties works, prime or not.
Composite examples carry it: 35 gives 1224, which is 24 times 51, and 121 gives 14640, which is 24 times 610.
The converse also holds, which is the part worth saying unprompted. If n is even then n squared is 0 or 4 modulo 8, so 8 cannot divide n squared minus 1; if three divides n then n squared minus 1 is minus one modulo 3, so 3 cannot divide it either. Odd multiples of three fail in the same shape: 9 gives 80, 15 gives 224, 21 gives 440, each leaving remainder 8 on division by 24.
proof used: odd, : nothing else
: ; :
: , : , : - all leave remainder
(checked for all )
“Why split as rather than or ?”
What you say, out loud
Because the combination step is only legal for coprime divisors. From two divides N and twelve divides N nothing at all follows about twenty-four, and N equals 12 is a counterexample to that inference.
The split is forced by the arithmetic rather than chosen for convenience: the factor of 8 is exactly the content of the parity count on two consecutive even numbers, and the factor of 3 is exactly the content of the triple. Neither piece of information survives inside a factor of 12.
It also explains why 24 is the interesting claim and 12 is a weaker true one. Twelve loses a factor of two, and that factor is precisely the part of the argument that most candidates fail to justify.
The glue needs coprimality:
- valid; - refutes
, : gives , never
tally: parity, gap, more, triple
“What does the same method give for , or for higher powers of ?”
What you say, out loud
For squares the two-adic story is complete and it is a residue-class story: p squared minus 1 is divisible by 8 always, and by 16 exactly when p is congruent to plus or minus 1 or plus or minus 7 modulo 16. The minimum of three is attained, so there is no uniform improvement.
For higher powers the shape changes and the method has to change with it. I took the gcd of p to the k minus 1 over the same 166 primes: every odd exponent from 3 to 15 gives just 2, while k equals 4 gives 48, k equals 6 gives 72, k equals 8 gives 96 and k equals 12 gives 144.
The reason is that for odd k the factor of 3 disappears, since p to the k is congruent to p modulo 3 and p can be minus one there; 5 cubed minus 1 is 124, which is not even divisible by 3. What survives is the order of p modulo each prime power, so the right generalisation is about orders rather than about parity counts.
exactly for ; for
odd, : gcd is always
: , : , : , :
, and
Traps on this question
Factoring as and then saying the two factors are consecutive, so one is a multiple of . They differ by , not by : the consecutive triple is , and the step that rescues the argument is that , which is exactly what prime buys.
Stopping at both neighbours are even, so . Divisibility by is the wrong target: the argument needs , and the extra factor of has to come from one of being , which is a property of consecutive even numbers and not of parity alone. Skipping it leaves the proof one factor of short, and it is the most common way this answer loses the mark.
Checking , seeing , and announcing a proof. The claim is universal over infinitely many primes. The honest finite check is the unit classes modulo , justified by the periodicity of - not three examples that happen to work.
Combining divisibilities that are not coprime: from and nothing follows about , and is a counterexample to the inference. The glue needs , and it is worth saying that out loud rather than letting the product of the two divisors appear silently.
Attributing the result to Fermat's little theorem with modulus . Little Fermat is a statement about a prime modulus, and is composite; what is really being used is that every unit modulo has order dividing . Citing the wrong theorem also hides the reason the question is about squares, which is the only interesting part of it.
What gets written on the assessor’s form
Restated the goal as two separate divisibilities, and , before any algebra, and stated why the split is legitimate ().
Earned the factor of explicitly: wrote , obtained , and said why is even instead of leaving the fourth power of two implied.
Used the hypothesis twice and visibly: is odd, and so the multiple of in the triple is a neighbour of rather than itself.
Pinned the constant rather than accepting it: observed gives exactly, so no larger universal divisor exists, and noted that and both fail.
Produced a genuinely independent second route (the unit classes mod ), named the periodicity that makes it exhaustive, and tested the boundary primes and to show the hypothesis is load-bearing.