TIS-100 Bench: Prime Factor Calculator
Emit an input's prime factors in ascending order as a zero-terminated sequence. Trial division must preserve the remaining quotient.
In TIS-100 Bench, 16 LLMs each had one attempt at this TIS-100 puzzle, with 45 minutes to find a working program and keep improving it, without seeing the community leaderboard. 12 of 16 models solved it. Together they found 14 new Pareto-frontier points beyond the community leaderboard.
Records
| Score | Community best | Best LLM | Model |
|---|---|---|---|
| Cycles | 409 | 1,110 | Opus 5.5 · +171% |
| Nodes | 3 | 3 | Fable 5.1 Ties record |
| Instructions | 25 | 33 | Gemini 4 Argon · +32% |
Community records from the community leaderboard when we froze it. A record counts only after fresh-game replay and 100,000 passing random tests.
Pareto frontier
Pareto explorer
Lower is better ↙Search over time
Loading puzzle trajectories…
The search over time
Best in-game score so far, before independent testing. Each score can come from a different program, and lines stop when the episode ends.
Every model
| Model | Solved | Best cycles | Best nodes | Best instructions | New frontier points |
|---|---|---|---|---|---|
| 01Opus 5.5 | Yes | 1,110 | 3 | 37 | 11 |
| 02GPT-6 Astra | Yes | 3,869 | 3 | 34 | 2 |
| 03GLM-5.3 | Yes | 2,972 | 9 | 119 | 1 |
| 04Haiku 5.5 | Yes | 2,976 | 9 | 90 | 1 |
| 05Gemini 4 Argon | Yes | 3,459 | 3 | 33 | — |
| 06Muse Wonder 1.0 | Yes | 3,594 | 9 | 122 | — |
| 07Muse Spark 1.3 | Yes | 4,264 | 10 | 126 | — |
| 08Fable 5.1 | Yes | 5,052 | 3 | 42 | — |
| 09Sonnet 5.5 | Yes | 5,372 | 4 | 50 | — |
| 10GPT-6.1 Sol | Yes | 6,045 | 3 | 38 | — |
| 11Kimi K3.1 Pro | Yes | 6,930 | 3 | 40 | — |
| 12Gemini 3.8 Flash | Yes | 8,102 | 6 | 47 | — |
| 13DeepSeek V4.1 Flash | No | — | — | — | — |
| 14Grok 4.7 | No | — | — | — | — |
| 15MiMo-V2.6-Pro | No | — | — | — | — |
| 16GPT-6 Luna | No | — | — | — | — |
Best scores can come from different programs. New frontier points are not matched or beaten on all three scores by any community program.
Best model programs
These programs are in TIS-100 save format and released under the MIT License. All of this puzzle’s model programs are on GitHub and Hugging Face.
Opus 5.5
1,110 cycles · 11 nodes · 124 instructionsNEXUS.20.433.1.1110-11-124.txt on GitHub

L: MOV RIGHT, ACC
JLZ F
JEZ R
SAV
JMP L
R: SWP
F: MOV ACC, DOWNS: MOV UP, ACC
T: MOV ACC, LEFT
NEG
M: ADD 8
MOV ACC, RIGHT
JLZ M
JNZ R
MOV 11, RIGHT
R: MOV RIGHT, ACC
JLZ O
MOV -2, LEFT
JMP T
O: MOV 0, LEFTADD 4
JRO LEFT
JMP Z
JMP L1
JMP Z
JMP L2
JMP Z
JMP L3
Z: NEG
L3: SUB 1
L2: SUB 1
L1: SUB 1
MOV ACC, LEFT
MOV 0, ACCS: MOV UP, ACC
JLZ F
T: MOV ACC, RIGHT
NEG
M: ADD 9
MOV ACC, DOWN
JLZ M
JNZ R
MOV 11, DOWN
R: MOV DOWN, ACC
JLZ Z
MOV -3, RIGHT
JMP T
Z: MOV 0, ACC
F: MOV ACC, RIGHTL: MOV LEFT, ACC
JLZ F
JEZ R
SAV
JMP L
R: SWP
F: MOV ACC, RIGHTS: MOV LEFT, ACC
JLZ F
T: MOV ACC, RIGHT
M: SUB 5
SWP
ADD 1
SWP
JGZ M
JLZ N
MOV -5, RIGHT
SWP
JMP T
N: MOV 0, ACC
SAV
F: MOV ACC, RIGHTL: MOV LEFT, ACC
JLZ F
JEZ R
SAV
JMP L
R: SWP
F: MOV ACC, DOWNADD 3
JRO UP
JMP Z
JMP Z
JMP L1
JMP Z
JMP Z
JMP L2
JMP Z
Z: NEG
L2: SUB 1
L1: SUB 1
MOV ACC, UP
MOV 0, ACCL: MOV RIGHT, ACC
JLZ F
SUB 1
JEZ Z
ADD 1
MOV ACC, DOWN
Z: MOV 0, DOWN
JMP L
F: NEG
MOV ACC, DOWNL: MOV RIGHT, ACC
JLZ F
JEZ R
SAV
JMP L
R: SWP
F: MOV ACC, LEFTS: MOV UP, ACC
JLZ F
T: MOV ACC, LEFT
M: SUB 7
SWP
ADD 1
SWP
JGZ M
JLZ N
MOV -7, LEFT
SWP
JMP T
N: MOV 0, ACC
SAV
F: MOV ACC, LEFTGemini 4 Argon
6,608 cycles · 3 nodes · 37 instructionsNEXUS.20.433.1.6608-3-37.txt on GitHub

MOV UP, ACC
S: SAV
MOV ACC, DOWN
MOV -1, ACC
L: ADD 1
JRO DOWN
SWP
JMP S
JEZ D
ADD 1
MOV 1, DOWN
JMP S
D: MOV 3, DOWNT: MOV UP, ACC
JMP S
L: MOV -1, DOWN
MOV -1, UP
S: SUB DOWN
JGZ L
JEZ D
MOV 1, UP
MOV -5, DOWN
JMP T
D: MOV 3, UP
MOV UP, DOWNS: MOV 2, ACC
JMP L2
L1: SUB 2
JGZ O
MOV -1, ACC
O: ADD 4
L2: MOV ACC, UP
JRO UP
MOV ACC, DOWN
JMP L2
MOV ACC, DOWN
MOV 0, DOWNGemini 4 Argon
9,160 cycles · 3 nodes · 33 instructionsNEXUS.20.433.1.9160-3-33.txt on GitHub

MOV UP, ACC
JMP S
F: SWP
S: SAV
MOV ACC, DOWN
MOV -1, ACC
L: ADD 1
JRO DOWN
JEZ D
ADD 1
MOV 1, DOWN
JMP S
D: MOV 3, DOWNT: MOV UP, ACC
JMP S
L: MOV -1, DOWN
MOV -1, UP
S: SUB DOWN
JGZ L
JEZ D
MOV -5, UP
MOV -2, DOWN
JMP T
D: MOV 1, UP
MOV UP, DOWNS: MOV 1, ACC
L1: ADD 1
L2: MOV ACC, UP
JRO UP
MOV ACC, DOWN
JMP L2
MOV ACC, DOWN
MOV 0, DOWN