Keyboard shortcuts

Scrolling

dorCtrl+d
Scroll down
uorCtrl+u
Scroll up
Ctrl+e
One line down
Ctrl+y
One line up
gtheng
Top of article
G
Bottom of article

Articles

j
Older article
k
Newer article
O
Open original
H
Open hackernews
R
Open reddit

Lists

jor↓
Next item
kor↑
Previous item
gtheng
First item
G
Last item
oorEnter
Open selected item

Go to

gthenforgtheni
Feed
gthen1–9
Open feed entry
gthenb
Browse
gthenp
Preferences

Search and help

⌘+kCtrl+kor/
Global search
?
Show this help
Esc
Close this help

FRACTRAN: 14 fractions that produce infinite primes

Check out Jane Street’s INSIGHT programme: https://jane-st.co/SUM-JS-INSIGHT2027

If you're applying for INSIGHT in Hong Kong, applications close on November 8th, 2026. For London, you have until January 3rd, 2027.

Previously, in the Prime Realm: https://www.youtube.com/watch?v=5vbk0TwkokM

Fractran interpreter in Fractran: https://github.com/jbeder/fractran

Thanks to Chaim Goodman-Strauss for introducing me to Fractran. They do all sorts of great stuff. https://chaimgoodmanstrauss.com/

For more unnecessary detail, tickets for upcoming London shows are available here: https://festivalofthespokennerd.com/tickets/

Huge thanks to my Patreon supporters. They give me more than 14 fractions of support. https://www.patreon.com/standupmaths

CORRECTIONS
None yet, let me know if you spot anything!

Filming and editing by Alex Genn-Bash
Written and performed by Matt Parker
Research by Rhys Jones
Production and number yeeting by Nicole Jacobus
Music by Howard Carter
Design by Simon Wright and Adam Robinson

MATT PARKER: Stand-up Mathematician
Website: http://standupmaths.com/