Chapter 27: The Triumph of the Coloring Method
My IQ Grows Every Year by Quiet Art (介安艺)
Life in the lab suited Chen Zhuo very well.
He curled up there in the warm air from the heater.
He leafed through the red-covered book Lao Zhou had given him.
Now and then he helped Lao Zhou go over problems with Li Hao and Zhang Wei and tutor them.
Some time ago, Lao Zhou had told the two of them that Chen Zhuo was the squad captain, even though the squad had only three people in it.
Li Hao and Zhang Wei had of course been all for it, both hands and both feet raised.
Ever since Chen Zhuo had walked them through a few problems, every time they called him "Captain" it was with complete, wholehearted conviction and not a trace of resentment.
Problems that seemed impossibly hard to them, the kind no human being was meant to solve, always seemed to fall apart in Chen Zhuo's hands in three quick strokes[1].
The key thing was that the methods Chen Zhuo taught were easy for them to follow.
Which was pretty remarkable.
As for Lao Zhao's side, the math department squad had five people, three boys and two girls, which made exactly six with Chen Zhuo.
On the evening study session when the roster was finally full, Lao Zhao went over and flung a problem onto the blackboard.
No surprises there.
And just like that, Chen Zhuo smoothly became captain of the math department squad too.
The only thing he couldn't figure out was why.
His snacks seemed to keep multiplying.
Wednesday night, seven thirty.
The math competition squad's dedicated classroom on the top floor of City No. 1 Middle School's administration building.
It was very dry in here, and the air was filled with that faintly sour smell peculiar to old paper, the kind that calms the mind.
Heavy dark-red velvet curtains were drawn tight, completely shutting out the night outside and the bells of the campus evening study sessions.
The room held only one enormous mahogany table, lit by a high-wattage incandescent bulb.
Five people sat around it under the light.
Three boys and two girls.
These five were the all-star lineup of City No. 1 Middle School's junior high math competition squad.
Wang Yang from Third Year, first in his grade in math, wore glasses thicker than the bottom of a bottle and was chewing furiously on the end of his pen.
Zhao Chen, also from Third Year, was another math maniac; right now he was clutching his hair, turning what had already been a mess into a chicken's nest.
Then there was Liu Kai, a chubby Second Year boy, and two girls, Nan Xiaoyun and Lin Xiao.
They were very quiet.
Apart from the scratching of pen tips on paper and the occasional sigh, there was hardly a sound.
He sat at the very end of the long table.
In his hands was a copy of 《High-School Mathematics》[2] he had dug out from the shelf, its cover half torn off, and he was reading it with relish.
The other five were stuck on a problem.
A classic problem in combinatorial geometry.
It was drawn on a sheet of scratch paper:
【Can a 6×6 square chessboard be covered, without overlap, by 1×4 rectangles (dominoes)? If not, explain why.】
The problem was simple.
So simple a primary schooler could understand it.
But solving it was a pain.
"It can, right?"
Wang Yang was drawing grids on the paper with his pen.
"Look, the area is 6×6=36, each domino has area 4, and 36 is a multiple of 4, so the area works out!"
"Enough area doesn't mean you can cover it!" Zhao Chen shot back. "I've been trying forever, and every time there's a piece sticking out at the corner."
"Should we split the 6×6 into a few smaller rectangles?" Nan Xiaoyun was trying too. "Like cutting it into 2×4 blocks? Ugh, no, 6 doesn't divide by 4…"
"Forcing it definitely won't work, there has to be a pattern." Liu Kai chewed his pen. "Should we use proof by contradiction?"
The arguing grew louder and louder.
Too noisy.
That kind of aimless trial and error was like stumbling around in the dark.
Chen Zhuo closed his copy of 《High-School Mathematics》 and let out a small sigh.
Holding the book, he hopped down from his chair and ambled slowly to the other end of the long table.
He stopped between Wang Yang and Zhao Chen.
"Stuck?"
Chen Zhuo's voice was flat, with no emotion you could pick out, as if he were asking whether they'd eaten yet.
The arguing stopped dead.
All five looked at their nine-year-old captain.
"Yeah. Totally stuck."
Wang Yang pushed over the scrawled-over scratch paper and scratched his head a little sheepishly.
"It feels like it should cover, but we just can't draw it. The area matches perfectly."
Chen Zhuo glanced at the problem.
"Matching area is a necessary condition. Not a sufficient one."
He reached out and pulled a red pen from the pen holder.
He didn't bother drawing all those fiddly rectangular dominoes.
He took the 6×6 grid.
"Don't draw."
Chen Zhuo's tone was mild.
"Color."
"Color?" Nan Xiaoyun was taken aback. "Like coloring black and white squares on a chessboard?"
"Black and white won't work."
Chen Zhuo shook his head.
"That's for 1×2 dominoes. This one is 1×4."
His pen was already marking numbers in the squares.
"This one is 1×4, so it needs four colors."
He didn't fill them in at random, but followed a rule:
Number every square, so that the square in row i, column j is labeled with the remainder of (i+j) divided by 4.
For convenience, the remainders are written as 0, 1, 2, 3.
He filled them in quickly. First row (i=1):
When j=1, i+j=2, remainder 2
j=2, i+j=3, remainder 3
j=3, i+j=4, remainder 0
j=4, i+j=5, remainder 1
j=5, i+j=6, remainder 2
j=6, i+j=7, remainder 3
So the first row read: 2, 3, 0, 1, 2, 3.
He wrote out all six rows one after another, forming a matrix of numbers.
"Look,"
Chen Zhuo pointed at the matrix.
"However you place a 1×4 domino, horizontally it covers four consecutive squares in the same row, vertically four consecutive squares in the same column. By this labeling rule, the four numbers it covers have to be exactly one each of 0, 1, 2 and 3, with no repeats."
"In other words, every domino uses up exactly one 0, one 1, one 2 and one 3."
"If the board could be completely covered by dominoes, then the numbers of 0s, 1s, 2s and 3s on the board would have to be exactly equal."
Chen Zhuo stopped writing, looked up, and gazed at his seniors through his lenses.
"Now count how many of each number there are on this board."
Wang Yang hurried to count.
After counting the 0s, he frowned as he counted the 1s.
"That's not right… there are 9 zeros, only 8 ones, 9 twos, and… 10 threes. They're not equal!"
"So,"
Chen Zhuo's voice was as flat as ever.
"If it could be covered, the four numbers would have to appear equally often. They don't. Contradiction. So it's impossible to cover a 6×6 board with 1×4 dominoes without overlap."
The classroom went instantly quiet.
The logic had closed the loop.
To cover the board, you'd have to use up equal numbers of 2s and 4s.
And they simply didn't match.
"So, it's impossible."
Chen Zhuo put down the pen.
Zhao Chen stared at the sheet, his mouth hanging wide open.
"That… that's the whole proof?"
"Mm."
Chen Zhuo brushed the dust off his hands and turned to walk back.
"The coloring method is basic combinatorics. Next time you hit a covering problem like this, don't rush to draw. First think about how to color it so you get a contradiction."
He sat back down in his seat and opened his book.
"All right, stop staring. Next problem."
Behind him, the five seniors looked at one another.
Wang Yang most of all. Looking at that simple matrix of numbers, he felt as though his IQ had been pinned to the floor and rubbed into it.
Not because the problem was so hard.
But because the solution was so elegant, so cheeky, so…
"Badass."
Wang Yang strained for a long while, and that was the only word he could squeeze out.
No complicated calculation, no tedious case analysis.
Just write a few numbers, count them, and the battle's over.
"That brain…"
Wang Yang muttered under his breath.
"How does a brain even grow like that?"
[1] 三下五除二: a line from the traditional abacus division mnemonic, used as an idiom for doing something quickly and neatly.
[2] High-School Mathematics (中等数学): a real Chinese monthly journal founded in 1981 and published by Tianjin Normal University, known for its olympiad-level competition problems.