The door to the Core was a black slab in a white room, and every ten seconds it showed us a number.

It stood at the top of a spiral stair on Floor Nine, a monolith without handles or hinges. Above a small brass keypad a single lamp glowed, and on the lamp, in plain white digits, was a figure that changed each time the Herald's clock ticked.

**16954.**

Ten seconds. **21946.**

Ten seconds. **45558.**

"Five digits," said Lena, copying. "Never above sixty-five thousand five hundred and thirty-five. I have forty readings, and the largest is sixty-four thousand nine hundred."

"Sixteen bits," I said. "Two to the sixteenth is sixty-five thousand five hundred and thirty-six. The numbers are all sixteen-bit." I looked at the keypad, which wanted ten digits and no more. "The seed it wants is bigger. Thirty-two bits. Four billion possibilities."

"Then these numbers are the lock's own output," said Dee. She stood very straight, her mask in her hands. "The generator behind the door, running since Day Zero, and the lamp shows half of each output."

"The *top* half." My fingers were tapping against my thigh again, a long, short, long rhythm that I could finally recognize. "The state is thirty-two bits. The lamp shows the high sixteen. The rest it keeps."

"And that is why it is secret," said Lena.

"It's why it *isn't.*" I laughed, a little wildly. "Look. There's one thing I know about this generator. I know the constants. I've been reciting them since the day I woke up, and I didn't know why." I wrote them on the stone with the chalk.

**a = 1664525. c = 1013904223. Modulus: two to the thirty-second.**

"Published in a book. Every programmer I ever knew used them as a lazy default. They're the ones my hands want when I'm thinking about generators. If I had to guess what a younger, tired, careless version of me would put in the Core of his own death game—"

"You'd put your lucky numbers," said Dee, very gently.

"I'd put my lucky numbers."

I set the chalk down. A cold calm was settling over me.

"So here's what I know," I said. "The next state is a times this one, plus c, wrapped at four billion. The lamp shows the high sixteen bits of every state. I have the top halves of consecutive states. I need the low halves. That's a sixteen-bit guess. How many possibilities?"

"Sixty-five thousand five hundred and thirty-six," said Lena.

"Right. For each guess, I run the formula forward one step and check whether the top half of the *next* state matches the next number on the lamp. If it matches, the guess is probably right. If not, it's wrong." I sighed. "It's the most tedious sum in the world. And it has to be done sixty-five thousand times."

"By whom?" said Crane, who had come up behind us on the stair.

I looked at him, and at Ruth, and at the six hundred Wakers standing in the long white corridor with nothing to do.

"Sixty-four clerks," I said. "Ruth, I need you to be a dispatcher."


I should explain the shortcut, because it's what made the thing possible at all.

Suppose I take the first reading, 16,954, as the top half, and guess a low half. Call it *L.* Then the full state is 16,954 times sixty-five thousand five hundred and thirty-six, plus L. To get the next state, I multiply that by *a*, add *c*, and wrap. Normally that is one large multiplication per guess, which is sixty-five thousand large multiplications.

But look what happens when you move from L to L plus one. The next state changes by exactly *a.* One addition. If I know the value for *L*, then the value for L plus one is just that value plus 1,664,525, wrapped at four billion. And a person can add a seven-digit number to a ten-digit number in about ten seconds.

"So each clerk does one multiplication to start," I said, "and then adds, one after another. A thousand and twenty-four additions per clerk. Sixty-four clerks. And at each step, the clerk checks one thing." I held up the second reading. "The next state has to fall between 1,438,253,056 and 1,438,318,591. That window is the set of ten-digit numbers whose top half is 21,946. If a clerk's running total lands in it, we've found the guess."

"Ten seconds an addition," said Ruth. "A thousand and twenty-four of them. That's nearly three hours."

"Two hours and fifty minutes."

"And if somebody carries a digit wrong?"

"Then we cross-check. Pairs. Each range is done by two people independently, and they compare every fifty steps." I looked at her. "I'd rather lose three hours than one hit."

She put a hand on her hip. "You're asking me to run a human computer."

"I'm asking you to run the best dispatch board in Tessera."

Ruth Adeyemi looked at the corridor, and at the clerks, and at the number glowing over the door, and, very slowly, she smiled.

"Give me chalk," she said.


It was the strangest afternoon of my life.

Sixty-four tables lined the white corridor, each with a pair of clerks, a lamp, a slate, and a sheet of numbers. Ruth stood on a crate at the end and called the starts. Lena had divided the sixty-five thousand guesses into sixty-four ranges of a thousand and twenty-four. The first clerk would test guesses zero through 1,023. The second, 1,024 through 2,047. And so on. Pim, on his crutches, ran messages. Dolores sat at table six and counted aloud under her breath. Garrick, who'd never done more than long division for a ledger, sat at table nine with his tongue between his teeth and the face of a man defusing a bomb.

Crane had picked the pairs. He'd matched, with some precision, the people he trusted least with the people he trusted most.

For two hours the corridor was silent, except for the scratching of pencils and the ticking of the Herald's clock. Every ten seconds, the lamp over the door changed, and nobody looked at it.

At two hours and one minute, there was a cry from table seventeen.

It was Marit, the woman who had frozen at move one hundred and ninety-seven on Floor Four. She had been the pair's second clerk, silent, steady, one of the slowest and most accurate people in the Spire. She stood up. The pencil was shaking in her hand.

"Step seven fourteen," she said. "Range sixteen. The running total is one billion, four hundred and thirty-eight million, three hundred and seven thousand, two hundred and thirty-three."

Nobody breathed.

"Is it in the window?" said Ruth.

Lena was already at the table, running a finger down the column. "One billion, four hundred thirty-eight million, two hundred fifty-three thousand fifty-six at the bottom," she said. "One billion, four hundred thirty-eight million, three hundred eighteen thousand five hundred ninety-one at the top." She looked up. "It is in the window."

"The guess is range sixteen, step seven fourteen," I said, doing the arithmetic as fast as I could. "Sixteen times a thousand and twenty-four is sixteen thousand three hundred and eighty-four. Plus seven hundred and fourteen. L equals seventeen thousand and ninety-eight."

I wrote it on the board. The corridor was quiet.

"False positives?" said Ruth.

"There could be one. A window of sixty-five thousand out of four billion is one in sixty-five thousand per guess, and we tried sixty-five thousand guesses." I tried to smile. "So expect one wrong hit as well as the right one. But the lamp gave us a *third* reading. If the guess is right, the next state after this one has to match it too. Forty-five thousand five hundred and fifty-eight."

Marit already had her pencil moving. She ran the step. She ran it again. She said, in a high, very quiet voice, "Forty-five thousand five hundred fifty-eight."

The corridor erupted.

I let it. I stood there and let them cheer, with my heart going like a drum, and I looked at the number on the slate. The full state, the thirty-two bits the lamp never showed. Sixteen thousand nine hundred and fifty-four, times sixty-five thousand five hundred thirty-six, plus seventeen thousand and ninety-eight.

**1,111,114,442.**

"That's a joke," said Pim, reading it over my shoulder. "That's a *joke* number."

"It's a coincidence," I said. "It's only the state right now."

"Then what's the *seed*?"


That was the hard part, and the part that I almost couldn't bring myself to do.

The Core's generator had been running since Day Zero. The state on the lamp was whatever it had become after hundreds of thousands of steps. To find the seed, the *first* state, I had to run the formula backward.

A formula like this can be undone. The next state is *a* times the old, plus *c*, wrapped. To go backward, you subtract *c*, then multiply by the *inverse* of *a*, a number that cancels it out. A modular inverse. I did it the lazy way, with a trick I'd have sworn I'd never learned: start with *a* itself, and repeat *x* times two minus *a* times *x*. Each round doubles the number of correct bits. Four rounds and you have all thirty-two.

"Four billion, two hundred seventy-six million, one hundred fifteen thousand, six hundred fifty-three," I said, and Lena's pencil flew. "That's the number that undoes the formula."

"Then we step back," said Dee.

"A lot of steps." I looked at Ruth. "The lamp ticks every ten seconds. The Herald's day counter says the Core started at the moment of Day Zero. Seventy-two days, six and a half hours. That's about six hundred and twenty-four thousand four hundred ticks. I don't have six hundred thousand steps in me."

"Then take bigger ones," said Lena slowly.

"Exactly."

If one step backward is a rule that takes a number and returns a number, then two steps is just the rule applied twice. And applying it twice is *another rule* of the same shape, with new constants. You can double again. Four steps, eight steps, sixteen. Twenty doublings, and you can jump back more than a million steps in about twenty-five multiplications.

It took the clerks a quarter of an hour. They ran the doublings down the corridor, hand to hand, like a bucket line. I assembled the jump from the pieces, six hundred and twenty-four thousand four hundred steps back, and the number that came out was nothing at all, a ten-digit blur of arithmetic.

"We might be off by some ticks," I said. "I'm estimating from a clock. I'll step the last bit by hand."

I stepped back once. A random-looking number. Twice. Three times. Seven. Eleven. Each one a single multiplication, each one a thing I could do in my head if I let myself. Fourteen. Seventeen.

At the nineteenth step, I wrote a number on the board, and stopped.

The pencil slipped out of my hand.

At the twentieth step, I wrote a number that read **20030614.**

I stood there. I couldn't move.

*Two thousand and three. Six. Fourteen.*

A kitchen, a hot June afternoon, and the smell of toast. Dee's mother's kitchen, a yellow room with a cracked blue teapot on the sill. A computer the size of a suitcase on the table. A girl of ten with her tongue between her teeth, and a boy of ten who had just written the first line of a program that did anything at all, a few dozen lines that made a room appear on the screen and a dragon that said *hello.* Her hand curled over the paper. His voice saying: *It works. Dee. It works.*

I put my hand over my mouth.

"It's the day," I said, around my fingers. "It's the day we wrote the first one. The first dungeon. It's the seed." I looked up. "It was always the seed. The first thing I ever made that worked."

Dee made a sound I had never heard from her.

She had taken off the mask. She was standing in the middle of sixty-four clerks, in a corridor where six hundred Wakers watched, and she was crying with her whole face, silently, hands pressed together against her mouth. She nodded. She nodded again.

"Type it in," said Dee.

I walked to the monolith. My legs felt very far away. The keypad glowed under my fingers. Two, zero, zero, three, zero, six, one, four.

The lamp over the door went out.

The slab shuddered. A line of light split the black down the middle, and in the long, silent breath before it opened, a voice I knew spoke out of the stone, very soft, almost shy.

"**Authorization accepted,**" said the voice. "**Welcome back, Kai.**"