frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Right-Truncatable Prime Counter

https://github.com/EbodShojaei/Right-Truncatable-Primes
9•rainmans•11mo ago

Comments

throwawaymaths•11mo ago
Curious about base 2. Obviously if you hit a 0 it's immediately not prime, but maybe adjust the rules so:

- you drill through as many 0's on the right.

- you finish on 1.

3, 5, 7, 11, 13, 15, 17 are all right truncatable, 19 is the first non-truncatable prime in this scheme.

nh23423fefe•11mo ago
i dont think smaller radixes make the problem more interesting. the problem is interesting because base 10 has a large branching factor
throwawaymaths•11mo ago
I think in the base2 reformulation I propose we do not know for certain if the list of numbers terminates, as all Fermat primes are in the set and we don't know if there are infinitely many Fermat primes.

For base-10 and the original rules the set is provably closed.

"Drilling through zeros" makes the branching unbounded.

jinwoo68•11mo ago
There's a Project Euler problem for finding truncatable prime numbers, from both left and right: https://projecteuler.net/problem=37
thechao•11mo ago
Just in case any else is wondering: there are only 83 right-truncatable primes (RTP) and that is it. There's two constraints that let you see this "immediately":

1. An RTP must start with {2,3,5,7,9}; and,

2. An RTP must end with {1,3,7,9}.

So, let's take the largest RTP (73939133) and try to "extend" it: there are only four possible extensions: 73939133[1], 73939133[3], 73939133[7], 73939133[9]. None of these are prime. This holds for the other 8-digit RTPs. Therefore, there is no extension to a 9-or-longer RTP. Thus, the list is exhaustive.

Talkie: a 13B vintage language model from 1930

https://talkie-lm.com/introducing-talkie
233•jekude•7h ago•61 comments

Microsoft and OpenAI end their exclusive and revenue-sharing deal

https://www.bloomberg.com/news/articles/2026-04-27/microsoft-to-stop-sharing-revenue-with-main-ai...
816•helsinkiandrew•16h ago•695 comments

Mo RAM, Mo Problems (2025)

https://fabiensanglard.net/curse/
77•blfr•2d ago•6 comments

LingBot-Map: Streaming 3D reconstruction with geometric context transformer

https://technology.robbyant.com/lingbot-map
13•nateb2022•1h ago•1 comments

Ted Nyman – High Performance Git

https://gitperf.com/
64•gnabgib•4h ago•11 comments

Pgrx: Build Postgres Extensions with Rust

https://github.com/pgcentralfoundation/pgrx
14•luu•2d ago•0 comments

Three men are facing charges in Toronto SMS Blaster arrests

https://www.tps.ca/media-centre/stories/unprecedented-sms-blaster-arrests/
134•gnabgib•8h ago•58 comments

Integrated by Design

https://vivianvoss.net/blog/integrated-by-design-launch
89•vermaden•6h ago•29 comments

4TB of voice samples just stolen from 40k AI contractors at Mercor

https://app.oravys.com/blog/mercor-breach-2026
487•Oravys•19h ago•176 comments

How I leared what a decoupling capacitor is for, the hard way

https://nbelakovski.substack.com/p/how-i-learned-what-a-decoupling-capacitor
50•actinium226•2d ago•16 comments

The quiet resurgence of RF engineering

https://atempleton.bearblog.dev/quiet-resurgence-of-rf-engineering/
169•merlinq•2d ago•86 comments

Men who stare at walls

https://www.alexselimov.com/posts/men_who_stare_at_walls/
503•aselimov3•18h ago•220 comments

San Francisco, AI capital of the world, is an economic laggard

https://www.economist.com/finance-and-economics/2026/04/26/san-francisco-ai-capital-of-the-world-...
3•1vuio0pswjnm7•51m ago•0 comments

Is my blue your blue?

https://ismy.blue/
420•theogravity•8h ago•292 comments

Meetings are forcing functions

https://www.mooreds.com/wordpress/archives/3734
93•zdw•2d ago•42 comments

Easyduino: Open Source PCB Devboards for KiCad

https://github.com/Hanqaqa/Easyduino
188•Hanqaqa•11h ago•31 comments

Show HN: AgentSwift – Open-source iOS builder agent

https://github.com/hpennington/agentswift
25•hpen•4h ago•6 comments

Networking changes coming in macOS 27

https://eclecticlight.co/2026/04/23/networking-changes-coming-in-macos-27/
219•pvtmert•13h ago•190 comments

The woes of sanitizing SVGs

https://muffin.ink/blog/scratch-svg-sanitization/
201•varun_ch•13h ago•84 comments

Radar Laboratory – Interactive Radar Phenomenology

https://radarlaboratory.com/
44•jonbaer•2d ago•2 comments

Lessons from building multiplayer browsers

https://www.alejandro.pe/writing/sail-muddy-lessons
36•alejandrohacks•1d ago•13 comments

China blocks Meta's acquisition of AI startup Manus

https://www.cnbc.com/2026/04/27/meta-manus-china-blocks-acquisition-ai-startup.html
340•yakkomajuri•17h ago•228 comments

Spanish archaeologists discover trove of ancient shipwrecks in Bay of Gibraltar

https://www.theguardian.com/science/2026/apr/15/hidden-treasures-spanish-archaeologists-discover-...
87•1659447091•2d ago•19 comments

Fully Featured Audio DSP Firmware for the Raspberry Pi Pico

https://github.com/WeebLabs/DSPi
272•BoingBoomTschak•2d ago•77 comments

FDA approves first gene therapy for treatment of genetic hearing loss

https://www.fda.gov/news-events/press-announcements/fda-approves-first-ever-gene-therapy-treatmen...
228•JeanKage•19h ago•84 comments

GitHub Copilot is moving to usage-based billing

https://github.blog/news-insights/company-news/github-copilot-is-moving-to-usage-based-billing/
599•frizlab•13h ago•442 comments

Super ZSNES – GPU Powered SNES Emulator

https://zsnes.com/
265•haunter•11h ago•75 comments

“Why not just use Lean?”

https://lawrencecpaulson.github.io//2026/04/23/Why_not_Lean.html
268•ibobev•14h ago•188 comments

Pgbackrest is no longer being maintained

https://github.com/pgbackrest/pgbackrest
403•c0l0•18h ago•217 comments

Show HN: OSS Agent I built topped the TerminalBench on Gemini-3-flash-preview

https://github.com/dirac-run/dirac
319•GodelNumbering•16h ago•119 comments