Chapter 6
Brute Force
Listen to this chapter
Narrated · 11 min
The right number changed everything.
With k instead of k + 1, the thirteen-hour clock stopped being a puzzle with no answer and turned into a puzzle with too many. By midnight Silas had found seven different sum-free sets of size four, and every time he thought he’d got the lot, another one turned up hiding in a corner of the page.
{5, 6, 7, 8}. The middle block.
{4, 5, 6, 7}. The block slid down by one. He’d been so busy trying to make it longer that he’d never noticed it still worked if you just moved it.
{6, 7, 8, 9}. Slid up by one. Same thing, other side.
{4, 6, 7, 9}. The weird one from the tram, with the holes in it.
And then all their shuffles, multiplied by 2, by 3, by everything, scattered round the clock like someone had dropped a box of them.
He tried counting by hand. He got nineteen. Then he checked and got twenty-two. Then he found a duplicate and got twenty-one, and then he wasn’t sure about one of the ones in the middle and got twenty again.
At ten to one, he stopped and looked at the mess.
This was stupid. He was doing by hand what a computer could do in a tenth of a second.
The problem was that he couldn’t really code. He’d done the compulsory Python module in first year, scraped a 58, and never opened it again. Every time he’d tried since, he’d ended up on a Stack Overflow thread where someone was being rude to a beginner, and closed the laptop.
He thought about the Focused token. 300 Credits, sitting there.
He thought about Dev, who was definitely still awake, because Silas could hear him through the wall shouting “Jungle, where are you?“ at his monitor.
He knocked.
“Let me get this straight,” Dev said, rolling his chair over. “You want every subset of size four, from one to twelve, where no two things add up to a third thing. Mod thirteen.”
“Yeah.”
“And you’ve been doing this by hand?”
“I didn’t think it’d be that many.”
“Twelve choose four is like five hundred.” Dev was already typing. He typed the way Wen typed, without looking, fingers going like he was playing piano. “That’s nothing. My laptop could do that on a potato. What’s ‘sum-free’ again, exactly? Does a plus a count?”
“Yeah. a plus a can’t be in the set either.”
“Cool.”
He wrote about eight lines. Silas watched them appear. A loop over combinations. A check that went through every pair, added them, took the remainder, and looked to see if it was in the set. It was so short it was almost embarrassing.
Dev hit enter.
21
Twenty-one. He’d been right on the second-to-last try, before he’d talked himself out of it.
“Can it do bigger?”
“How big?”
“Nineteen. Thirty-one. Whatever. The primes that are one more than a multiple of three.”
“Mate, it can do whatever you want, it’s a computer.” Dev changed one number. 36. He changed it again. 60. That one took nearly a minute. “Next one up’s thirty-seven, yeah? That’s going to be a problem, there’s… hang on.” He did something on his phone calculator. “There’s over a billion subsets of size twelve. Not doing them one at a time. Give me a sec.”
He rewrote it so it built the sets up one number at a time and threw them away the moment they broke, instead of checking every single one at the end. Silas didn’t follow all of it. He followed enough to know it was clever.
“Few minutes,” Dev said, and hit enter.
[Computing +10 experience. Observation: the host has learned that computers exist.]
“Oh, shut up,” Silas muttered.
“What?”
“Nothing.”
Dev gave him the look again. Then he shrugged and went to get crisps.
Silas wrote the numbers in a column while they waited.
p = 7: 9.
p = 13: 21.
p = 19: 36.
p = 31: 60.
He stared at them.
Seven and thirteen looked like nothing. But nineteen and thirty-one…
36 was 2 × 18. And 18 was 19 - 1.
60 was 2 × 30. And 30 was 31 - 1.
Two times (p - 1).
He checked thirteen. Two times twelve was twenty-four. But the answer was twenty-one. Off by three.
He checked seven. Two times six was twelve. Answer was nine. Off by three.
So the small ones were both off by exactly three. And the big ones weren’t off at all.
Off by three. Where did three come from?
He looked back at his p = 13 page. At the weird one. {4, 6, 7, 9}. When he’d multiplied it by things, he’d noticed something odd about it but been too tired to care. Now he looked again.
Times 12, which was minus 1 on the clock: {48, 72, 84, 108}, mod 13. 48 was 9. 72 was 7. 84 was 6. 108 was 4. {9, 7, 6, 4}.
Itself.
Times 5: {20, 30, 35, 45}. Mod 13, that was 7, 4, 9, 6.
Itself again.
The weird set was symmetrical. You could spin it round the clock in four different ways and it came back as itself. Which meant when you counted its shuffles, you didn’t get twelve copies, or six. You got three.
Normally, he guessed, a set like that would only come back to itself under times 1 and times minus 1, and you’d get six shuffles. But on the thirteen-hour clock, it happened to have extra symmetry. So three of its shuffles were missing. Three fewer.
That was the three.
Silas felt the back of his neck go hot, the way it had on Monday night with the Sophie Germain thing. The way it had in the lecture with the coprime.
Dev came back with a family bag of Monster Munch.
“Thirty-seven’s done,” he said, sitting down. “Seventy-two.”
Two times thirty-six.
“And forty-three?”
“Hold on.” Dev tapped. “That’s going to take ages. Like twenty minutes.”
“That’s fine.” Silas couldn’t sit still. He got up, walked to the door, came back. “Dev. Can you make it print the sets? Not just how many. The actual sets. But only one from each… family. If one’s a shuffle of another, only print one.”
Dev blinked at him.
“You mean like, up to multiplication?”
“Yeah. Exactly that.”
“Equivalence classes under the action of the multiplicative group,” Dev said, typing. “See, I did listen in discrete maths.”
He added six lines. Ran it on 19.
Three lines came out.
(6, 7, 8, 9, 10, 11)
(7, 8, 9, 10, 11, 12)
(6, 8, 9, 10, 11, 13)
Silas leaned in so close Dev had to move his head.
The shifted block. The middle block. And the one with the holes.
For p = 19, k was 6. The middle block went from k + 1 to 2k. The shifted block went from k to 2k - 1. And the one with holes was the shifted block, with its last element pushed one along, and its first element… no. He counted. It was k, then a gap, then k + 2 up to 2k - 1, then a gap, then 2k + 1.
The block, with both ends pulled out by one.
Thirty-one. Same three. Thirty-seven. Same three, every time, just longer.
“Is that good?” Dev asked. “You’ve gone really quiet.”
Silas didn’t answer for a second. He was doing the sum.
The shifted block wasn’t symmetrical. Spinning it gave p - 1 different copies. The middle block was symmetrical, under times minus one, so it gave half that, (p - 1)/2. The one with holes, also symmetrical, also (p - 1)/2.
(p - 1) + (p - 1)/2 + (p - 1)/2.
Two times (p - 1).
Unless one of them had extra symmetry. Which happened for 13. And for 7, where everything was too small to tell apart.
[Mathematics: Conjecture formed. Recorded to Ledger.]
[Conjecture 1 (Crane): Let p = 3k + 1 be prime with p ≥ 19. Then every sum-free subset of Z_p of size k is a dilation of exactly one of three sets: the middle block, the shifted block, or the split block. The number of such sets is 2(p - 1).]
[Status: unproven.]
The panel had written his name on it.
He sat down on the end of Dev’s bed. It was covered in clean washing that had been there since October.
“Yeah,” he said. “Yeah, Dev, that’s good.”
“Good like ‘nice’, or good like you’re going to get a paper out of it?”
“I don’t know yet,” Silas said honestly. “It’s a guess. A good guess. I’ve got to prove it now.”
“How long does that take?”
He thought about Erdős. About Roth. About Szemerédi and the photocopied paper on his desk with the furry font.
“Sometimes about a week,” he said. “Sometimes about fifty years.”
“Mate.” Dev passed him the Monster Munch. “Do the week one.”
At half two, Silas was back in his room with Dev’s code saved to his laptop, Dev’s numbers copied into his notebook, and a fresh page with the conjecture written at the top in his neatest handwriting.
He looked at it for a long time.
Then he got his phone out and wrote an email.
Dear Dr Halloran,
Sorry to email so late. I’ve been looking at Problem 3 from the open problems in the Cambridge survey. I think I have a conjecture for the p = 1 mod 3 case, with computer evidence up to p = 43. Would it be okay if I brought it on Thursday?
Thanks,
Silas Crane
He read it seven times. He changed “I think I have” to “I have,” and then changed it back. He deleted “Sorry to email so late.” He put it back in.
He pressed send at 02:41 and immediately wanted to throw his phone out of the window.
At 02:44 it buzzed.
Bring it. And bring the code. F.
Silas stared at it.
[Main Mission: Into the Deep End. Time remaining: 23 days, 9 hours.]
[Mathematics: LV1 (320/400)]
[Computing: LV0 (10/100)]
She’d been awake too. At quarter to three in the morning, Fiona Halloran had been sitting somewhere doing maths, and she’d read his email in under three minutes and answered it in eight words.
For the first time since the panel appeared, Silas got the feeling that he wasn’t the strangest person in this story.
He went to sleep smiling.
Comments