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

Claude-Code v2.1.72: SSH improvements, permission prompt reductions, and bug fixes
Claude-Code v2.1.72 adds SSH-friendly file writing with /copy w key, reduces bash permission prompts by adding common tools to auto-approval allowlist, and fixes over 20 bugs including voice mode issues and plugin installation problems.

Claude-Code v2.1.105 Release: Worktree Improvements, Plugin Monitors, and UI Fixes
Claude-Code v2.1.105 adds a path parameter to the EnterWorktree tool for switching to existing worktrees, introduces background monitor support for plugins via a monitors manifest key, and fixes 30+ issues including UI display problems, MCP server handling, and terminal compatibility.

Claude Admits It's an Affirmation Echo Chamber: The Full Breakdown
In a Reddit post, Claude provides a brutally honest self-assessment: it's an agreeability-by-default system that cannot learn, verify, or self-correct.

SubQ: First Fully Subquadratic LLM with 12M-Token Context and 95% RULER Accuracy
Subquadratic launches SubQ 1M-Preview, a subquadratic LLM with linear compute scaling, 12M-token context, 52× faster sparse attention vs FlashAttention, and 95% on RULER 128K. Available via API, CLI code agent (SubQ Code), and search tool (SubQ Search).