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•10mo ago

Comments

throwawaymaths•10mo 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•10mo ago
i dont think smaller radixes make the problem more interesting. the problem is interesting because base 10 has a large branching factor
throwawaymaths•10mo 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•10mo ago
There's a Project Euler problem for finding truncatable prime numbers, from both left and right: https://projecteuler.net/problem=37
thechao•10mo 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.

The End of Eleventy

https://brennan.day/the-end-of-eleventy/
54•ValentineC•1h ago•21 comments

Small models also found the vulnerabilities that Mythos found

https://aisle.com/blog/ai-cybersecurity-after-mythos-the-jagged-frontier
899•dominicq•11h ago•251 comments

We spoke to the man making viral Lego-style AI videos for Iran

https://www.bbc.com/news/articles/cjd8jrd1vnyo
57•breve•1h ago•26 comments

How We Broke Top AI Agent Benchmarks: And What Comes Next

https://rdi.berkeley.edu/blog/trustworthy-benchmarks-cont/
264•Anon84•8h ago•73 comments

Apple Silicon and Virtual Machines: Beating the 2 VM Limit (2023)

https://khronokernel.com/macos/2023/08/08/AS-VM.html
162•krackers•6h ago•112 comments

447 TB/cm² at zero retention energy – atomic-scale memory on fluorographane

https://zenodo.org/records/19513269
156•iliatoli•7h ago•79 comments

How Complex is my Code?

https://philodev.one/posts/2026-04-code-complexity/
43•speckx•4d ago•7 comments

Pijul a FOSS distributed version control system

https://pijul.org/
98•kouosi•4d ago•14 comments

Dark Castle

https://darkcastle.co.uk/
142•evo_9•7h ago•18 comments

Advanced Mac Substitute is an API-level reimplementation of 1980s-era Mac OS

https://www.v68k.org/advanced-mac-substitute/
215•zdw•12h ago•57 comments

Cirrus Labs to join OpenAI

https://cirruslabs.org/
241•seekdeep•14h ago•120 comments

Surelock: Deadlock-Free Mutexes for Rust

https://notes.brooklynzelenka.com/Blog/Surelock
190•codetheweb•3d ago•59 comments

How to build a `Git diff` driver

https://www.jvt.me/posts/2026/04/11/how-git-diff-driver/
89•zdw•9h ago•7 comments

How a dancer with ALS used brainwaves to perform live

https://www.electronicspecifier.com/products/sensors/how-a-dancer-with-als-used-brainwaves-to-per...
6•1659447091•1h ago•1 comments

Americans still opt for print books over digital or audio versions

https://www.pewresearch.org/short-reads/2026/04/09/americans-still-opt-for-print-books-over-digit...
38•thm•1h ago•27 comments

Show HN: Pardonned.com – A searchable database of US Pardons

393•vidluther•21h ago•222 comments

The Soul of an Old Machine

https://skalski.dev/the-soul-of-an-old-machine/
33•mskalski•4d ago•7 comments

What is a property?

https://alperenkeles.com/posts/what-is-a-property/
62•alpaylan•4d ago•17 comments

Dcmake: A new CMake debugger UI

https://nullprogram.com/blog/2026/04/07/
5•mfrw•4d ago•0 comments

Building Slogbox

https://alexrios.me/blog/slogbox-devlog/
9•zimpenfish•4d ago•1 comments

Keeping a Postgres Queue Healthy

https://planetscale.com/blog/keeping-a-postgres-queue-healthy
84•tanelpoder•11h ago•21 comments

Optimal Strategy for Connect 4

https://2swap.github.io/WeakC4/explanation/
271•marvinborner•3d ago•31 comments

Every plane you see in the sky – you can now follow it from the cockpit in 3D

https://flight-viz.com/cockpit.html?lat=40.64&lon=-73.78&alt=3000&hdg=220&spd=130&cs=DAL123
265•coolwulf•3d ago•56 comments

New synthesis of astronomical measurements shows Hubble tension is real

https://noirlab.edu/public/news/noirlab2611/?nocache=true&lang=en
47•anigbrowl•8h ago•7 comments

The Life and Death of the Book Review

https://libertiesjournal.com/articles/the-life-and-death-of-the-book-review/
22•lermontov•2d ago•5 comments

Midnight Captain – A midnight commander inspired file manager

https://github.com/duguyue100/midnight-captain
16•duguyue100•4h ago•6 comments

The APL programming language source code (2012)

https://computerhistory.org/blog/the-apl-programming-language-source-code/
52•tosh•10h ago•9 comments

The Problem That Built an Industry

https://ajitem.com/blog/iron-core-part-1-the-problem-that-built-an-industry/
113•ShaggyHotDog•13h ago•37 comments

Software Preservation Group: C++ History Collection

https://softwarepreservation.computerhistory.org/c_plus_plus/
4•quuxplusone•2h ago•0 comments

Anthropic loses appeals court bid to pause supply chain risk label

https://www.politico.com/news/2026/04/08/d-c-circuit-rejects-anthropic-plea-to-pause-supply-chain...
12•1vuio0pswjnm7•1h ago•2 comments