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

Comments

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

NYC Mayoral Inauguration bans Raspberry Pi and Flipper Zero alongside explosives

https://blog.adafruit.com/2025/12/30/nyc-mayoral-inauguration-bans-raspberry-pi-and-flipper-zero-...
100•ptorrone•1h ago•63 comments

FediMeteo: A €4 FreeBSD VPS Became a Global Weather Service

https://it-notes.dragas.net/2025/02/26/fedimeteo-how-a-tiny-freebsd-vps-became-a-global-weather-s...
179•birdculture•4h ago•42 comments

A faster heart for F-Droid. Our new server is here

https://f-droid.org/2025/12/30/a-faster-heart-for-f-droid.html
189•kasabali•5h ago•78 comments

Project ideas to appreciate the art of programming

https://codecrafters.io/blog/programming-project-ideas
17•vitaelabitur•55m ago•3 comments

Show HN: 22 GB of Hacker News in SQLite

https://hackerbook.dosaygo.com
249•keepamovin•6h ago•88 comments

A Vulnerability in Libsodium

https://00f.net/2025/12/30/libsodium-vulnerability/
160•raggi•6h ago•16 comments

Electrolysis can solve one of our biggest contamination problems

https://ethz.ch/en/news-and-events/eth-news/news/2025/11/electrolysis-can-solve-one-of-our-bigges...
109•PaulHoule•5h ago•16 comments

Zpdf: PDF text extraction in Zig – 5x faster than MuPDF

https://github.com/Lulzx/zpdf
89•lulzx•3h ago•36 comments

Toro: Deploy Applications as Unikernels

https://github.com/torokernel/torokernel
110•ignoramous•6h ago•97 comments

OpenAI's cash burn will be one of the big bubble questions of 2026

https://www.economist.com/leaders/2025/12/30/openais-cash-burn-will-be-one-of-the-big-bubble-ques...
87•1vuio0pswjnm7•1h ago•93 comments

Loss32: Let's Build a Win32/Linux

https://loss32.org/
170•akka47•1d ago•278 comments

Honey's Dieselgate: Detecting and tricking testers

https://vptdigital.com/blog/honey-detecting-testers/
57•AkshatJ27•1h ago•12 comments

Professional software developers don't vibe, they control

https://arxiv.org/abs/2512.14012
90•dpflan•3h ago•112 comments

Sabotaging Bitcoin

https://blog.dshr.org/2025/12/sabotaging-bitcoin.html
27•zdw•2h ago•5 comments

Everything as code: How we manage our company in one monorepo

https://www.kasava.dev/blog/everything-as-code-monorepo
158•benbeingbin•3h ago•148 comments

Reverse Engineering a Mysterious UDP Stream in My Hotel (2016)

https://www.gkbrk.com/hotel-music
157•bayesnet•1w ago•22 comments

Escaping containment: A security analysis of FreeBSD jails [video]

https://media.ccc.de/v/39c3-escaping-containment-a-security-analysis-of-freebsd-jails
32•todsacerdoti•4h ago•0 comments

Non-Zero-Sum Games

https://nonzerosum.games/
304•8organicbits•12h ago•160 comments

The British empire's resilient subsea telegraph network

https://subseacables.blogspot.com/2025/12/the-british-empires-resilient-subsea.html
154•giuliomagnifico•10h ago•39 comments

Braid Math Article

https://mathvoices.ams.org/mathmedia/tonys-take-april-2022/
7•marysminefnuf•1w ago•0 comments

Approachable Swift Concurrency

https://fuckingapproachableswiftconcurrency.com/en/
149•wrxd•10h ago•65 comments

Times New American: A Tale of Two Fonts

https://hsu.cy/2025/12/times-new-american/
201•firexcy•10h ago•125 comments

U.S. cybersecurity experts plead guilty for ransomware attacks

https://www.tomshardware.com/tech-industry/cyber-security/u-s-cybersecurity-experts-plead-guilty-...
52•robotnikman•2h ago•7 comments

Hive (YC S14) Is Hiring a Staff Software Engineer (Data Systems)

https://jobs.ashbyhq.com/hive.co/cb0dc490-0e32-4734-8d91-8b56a31ed497
1•patman_h•9h ago

Igniting the GPU: From Kernel Plumbing to 3D Rendering on RISC-V

https://mwilczynski.dev/posts/riscv-gpu-zink/
57•michalwilczynsk•9h ago•8 comments

Humans May Be Able to Grow New Teeth Within Just 4 Years

https://www.popularmechanics.com/science/health/a69878870/human-new-tooth-regrowth-trials-japan-t...
43•rmason•2h ago•17 comments

Postgres extension complements pgvector for performance and scale

https://github.com/timescale/pgvectorscale
103•flyaway123•6d ago•22 comments

Go away Python

https://lorentz.app/blog-item.html?id=go-shebang
320•baalimago•14h ago•315 comments

What Happened to Abit Motherboards

https://dfarq.homeip.net/what-happened-to-abit-motherboards/
65•zdw•8h ago•50 comments

Netflix Open Content

https://opencontent.netflix.com/
570•tosh•13h ago•114 comments