Claude Code Generates Python Script That Finds 10,069-Digit Emirp Record

Claude Code, using Anthropic's Opus 4.6 model, generated a Python script that found a 10,069-digit emirp (reversible prime number) in approximately one day of CPU time, setting a new world record. The user provided Claude with a Numberphile video about the previous record and asked it to beat that record on a personal computer.
Technical Implementation
Claude initially created a Python script that could find the emirp within "a few days of runtime." Through further discussion, it produced an optimized version with four successive tiers of prime sieves. The optimization included:
- A "ludicrously fast CUDA kernel for generating random numbers with no factor smaller than 232"
- Pure brute force approach without algebraic shortcuts
- No "unsatisfying strings of zeroes" in the output
The user notes they are "neither a mathematician nor a full time programmer" and that "most of the algorithms implemented I had never heard of until yesterday."
Output and Verification
The resulting number is a 'BPSW probable' emirp, which provides strong probabilistic verification of primality but isn't yet rigorous proof. The user is working on formal proof using primo software. The 10,069-digit number was generated through this process.
The approach contrasts with the previous record attempt described in the Numberphile video, which used "arithmetic hacks and drew on extensive effort and knowledge from prime finding communities."
📖 Read the full source: r/ClaudeAI
👀 See Also

OpenClaw: Four Critical Issues Developers Need to Know
From image-passthrough bugs to dead channel adapters, lock file visibility, and missing parallel coordination — four production-impacting issues from the OpenClaw repo (366k stars).

NHS England retreats from open source: open letter urges reversal of SDLC-8 policy
An open letter with 74 signatures calls on NHS England to withdraw SDLC-8 — a policy that hides all NHS source code — and to reaffirm Principle 12 of the NHS Service Standard: 'Make new source code open.'

Exploring the Dynamic World of Moving Machines
Discover how AI-powered coding agents transform the industry in the latest discussion from the tech community. Engage with insights from OpenClawRadar as we highlight key aspects of this evolving technology.

‘AI Washing’: UK Firms Rebrand as AI Companies Despite Weak Links
PR executives report UK companies forcing them to pitch ordinary automation as AI, with 50% of AI-related press releases sent under duress. Examples include an AllBirds pivot to acquiring AI GPUs and a property firm calling a handheld scanner an AI tool.