At three in the morning on Day eleven, I solved the Kartika Problem.
I'll tell you what that feels like, so you'll recognise it, and distrust it. It starts in the stomach, a warmth, like drinking something hot too fast. Your hand speeds up. The lines stop fighting you and begin to fall into place with a sound like drawers sliding shut. You stop being a person who is *trying* to prove something and become a person who is merely transcribing. The air seems clearer. You think, quite clearly: *oh. It was that simple. How did nobody see?*
That feeling has nothing to do with whether the proof is correct. I'd known that for years. I'd just never had so much to lose by forgetting it.
Open Problem 14, the Kartika Problem, is not a famous problem. It's named after the woman who posed it, a Council member who died in the nineteen-nineties, and it has sat in the Archive for eleven years, with a prize of one hundred million rupiah and no solutions. It looks like nothing. That's the cruelty of it.
Take a number n. Start at zero. Repeat one rule: square the number you have, add one, and keep only the remainder on division by n. That gives you a sequence: zero, one, two, five. Eventually it must repeat itself, because there are only n possible remainders. Everyone agrees on that.
The easy bound is n steps. If you take n plus one steps, two of the values must match. That's the pigeonhole principle, and a child can prove it.
The Kartika Problem asks for much more. In practice, the sequence repeats after about the square root of n steps. Every calculation anyone has ever run says so. It's the reason certain factoring methods work, and why computers can find the factors of large numbers faster than you'd expect. The problem asks: *prove it. For every n, in the worst case.* Nobody can. We know it's true the way we know the sun will rise. We can't show why.
It's exactly what Hartono Wiryawan needed. A proof the Ministry would read, the Council would verify, the panel would admire, and the Garuda Gifted Academy would hang above its door in brass. Four hundred billion rupiah, on a page.
And I had it. On Day eleven, at three in the morning, under the light of one bulb in a hall that smelled of fried shallots, I had it.
The idea came from my sister.
I'd been at the kitchen table for six hours, going round and round the same failed approaches. The sieve she'd drawn was still pinned to the wall, with its twenty-five clean islands. And I'd been thinking about what she'd said. *A number is only hiding if something small is hiding it.* About how, to find the primes, you cross out what isn't, and the ones left standing are the answer.
So instead of asking *when does the sequence repeat,* I asked what it cannot avoid.
Take the first k terms of the sequence. Call them x₀, x₁, up to x_k. Look at all the *differences* between pairs: x_j minus x_i. There are about k²/2 such differences. And they're remainders mod n, so there are only n possible values. If k²/2 is bigger than n, which happens when k is around the square root of 2n, then by pigeonhole two of those differences must be equal.
That was the first line of the idea. I wrote it out in a rush. And then:
*Two equal differences. x_j − x_i = x_l − x_k. Now apply the rule: squaring and adding one. The map sends equal differences to equal... and therefore two of the values must coincide.*
*Therefore the sequence repeats within about √(2n) steps.*
I looked at it. It was four pages. Everything held. It was *beautiful.* It used pigeonhole, and the structure of the squaring map, and a neat telescoping step in the middle that made me laugh aloud, alone, at three in the morning, a small cracked sound like a dropped glass.
I wrote *Q.E.D.* in the margin. I'm not proud of it. I drew a box around it.
And then I did what Papa taught me to do, the thing I'd always done. I didn't go to sleep. I got a fresh sheet of paper and I wrote a title across the top.
*HOW TO KILL THIS.*
It's a checklist. I've never shown it to anyone. It's in the green notebook on page six, in Papa's handwriting, with my additions around the edges. Every serious mathematician has a version. Mine goes like this.
*One. Try the smallest case.* Not a clever case. The smallest one that isn't trivial.
*Two. Find where each hypothesis is used.* If one isn't used, either the theorem is stronger than you thought, or your proof is broken.
*Three. Hunt for the word "therefore."* Every flawed proof has a line where something that is not obvious is made to look like it follows. Underline every *clearly*, every *obviously*, every *it follows that.* Those are where proofs hide their holes.
*Four. Swap the quantifiers.* Did I prove it for every n, or for some n? For every sequence, or for this one?
*Five. Try to produce a counterexample on purpose.* Not to disprove it. To see what the first sentence of the disproof would be.
I took the paper, and I started on step one.
Take n equal to seven. Run the sequence. Zero. Zero squared plus one is one. One squared plus one is two. Two squared plus one is five. Five squared plus one is twenty-six, and twenty-six leaves remainder five when divided by seven.
*Zero, one, two, five, five.* It repeats after four steps.
I checked my bound. The square root of fourteen is about three point seven, and the repeat had come at step four. Close enough for "about." It held.
Step one, passed. I could feel the warm feeling holding.
*Two.* Where was each hypothesis used? I went through them. Pigeonhole: used. Squaring-and-adding: used, in the telescoping step. Everything was used.
*Three.* I hunted for the word. I found it on page three, in the middle of the third paragraph, in my own handwriting.
*...and therefore two of the values must coincide.*
I stared at it for a long time. The word *therefore* looked back at me like a face I'd drawn myself.
It's an unnerving thing, to find a hole in your own proof by reading what you wrote. The sentence sounded so right. *Equal differences, and therefore equal values.* But where did that come from? What rule made equal differences into a collision?
None. I'd imagined one. In the heat of the moment, with the warmth in my stomach, I had written a bridge, and the bridge wasn't there.
Step five. *Try to produce a counterexample.* The first sentence of a disproof would be: *equal differences do not imply equal values.* So I tested that on the one sequence I already had. Zero, one, two. The difference between one and zero is one. The difference between two and one is one. Two differences, exactly equal. And the values zero, one and two are three different numbers.
*Equal differences. No collision.*
It was in front of me from the very first term. I had written the proof, and the counterexample was the first thing the sequence did.
I put the pen down.
It was nearly four. The cycler hummed through the wall. I had the specific physical sensation of falling a long way very slowly, like a man in a dream, who realises about halfway down that the floor was never there.
I'd like to tell you I took it well.
I read the proof again, trying to patch the bridge. For an hour, I tried. I added a lemma. I tried a restriction to prime moduli. I tried to bring in the fact that squaring is two-to-one, so that x and minus x land on the same value, which should help, but which turned out to be exactly the property that made the counting wrong. Every patch held for about twenty minutes, and then showed the same crack in a different place.
I tore it up at five. Then, because I'm my father's son, I took the pieces out of the bin and taped them back together, and filed them in the green notebook, with a label across the top.
*WRONG, AND WHY.*
It's a section I've kept for years. A proof that's wrong and understood is worth more than a proof that's right and lucky. The hole in this one was beautiful. It was exactly the hole every person who has ever attempted the Kartika Problem has fallen into. The one the prize is for.
I couldn't solve it. Not in nineteen days. Maybe not in nineteen years. I'm good. I'm not *that* good. And I had spent three years being the kind of person who hides what he is, and an hour being the kind who believed his own best sentence.
Mama found me at the kitchen table at six, asleep with my cheek on a mess of taped paper. She didn't wake me. She put a blanket over my shoulders. When I did wake, an hour later, there was a glass of tea beside my elbow, cold, and Laras was at the end of the table, in her chair, with a bowl of porridge on her lap, looking at the paper the way a doctor looks at an X-ray.
"It's wrong," she said.
"Yes."
"I could tell. You've got your *wrong* face on. It's different from your *failing* face." She spooned porridge. "Was it a good wrong?"
"The best kind."
"Then that's all right." She considered. "Is it the thing Hartono wants?"
"It was."
"Then he doesn't get it." She said it with immense calm, the way you'd say the bus wasn't coming. "So we do something else. Dr. Fitri's on Thursday. Mama's making me wear the nice shirt."
I looked at my sister. She had clearly decided, somewhere in the course of one bowl of porridge, that the Kartika Problem was a *door we didn't need.*
"I can't solve it," I said.
"I know."
"I thought I could."
"I know." She put down the spoon. "Dimas. You wrote a thing, and you checked it, and you found the hole yourself. Nobody had to find it for you." She tilted her head. "Isn't that the whole point of Papa's list? That it's *you* who catches yourself?"
I didn't answer. There wasn't an answer. I turned the taped pages over in my hand, the beautiful, ruined proof, and I thought: *so that's the first plan gone.*
Nineteen days left. A hearing on Day twenty-eight. A man in a glass tower who would, in a week, ask me for a solution I didn't have.
We would have to win some other way.