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

Comments

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

Netbird a German Tailscale alternative (P2P WireGuard-based overlay network)

https://netbird.io/
170•l1am0•2h ago•42 comments

What I learned building an opinionated and minimal coding agent

https://mariozechner.at/posts/2025-11-30-pi-coding-agent/
56•SatvikBeri•2h ago•18 comments

The Book of PF, 4th edition

https://nostarch.com/book-of-pf-4th-edition
82•0x54MUR41•3h ago•17 comments

Mobile carriers can get your GPS location

https://an.dywa.ng/carrier-gnss.html
694•cbeuw•18h ago•415 comments

Reliable 25 Gigabit Ethernet via Thunderbolt

https://kohlschuetter.github.io/blog/posts/2026/01/27/tb25/
29•kohlschuetter•4d ago•12 comments

The history of C# and TypeScript with Anders Hejlsberg | GitHub

https://www.youtube.com/watch?v=uMqx8NNT4xY
80•doppp•4d ago•45 comments

In praise of –dry-run

https://henrikwarne.com/2026/01/31/in-praise-of-dry-run/
187•ingve•15h ago•101 comments

List animals until failure

https://rose.systems/animalist/
172•l1n•10h ago•97 comments

pg_tracing: Distributed Tracing for PostgreSQL

https://github.com/DataDog/pg_tracing
72•tanelpoder•3d ago•11 comments

Cells use 'bioelectricity' to coordinate and make group decisions

https://www.quantamagazine.org/cells-use-bioelectricity-to-coordinate-and-make-group-decisions-20...
74•marojejian•11h ago•28 comments

Coffee as a staining agent substitute in electron microscopy

https://phys.org/news/2026-01-coffee-agent-substitute-electron-microscopy.html
20•PaulHoule•2d ago•7 comments

Generative AI and Wikipedia editing: What we learned in 2025

https://wikiedu.org/blog/2026/01/29/generative-ai-and-wikipedia-editing-what-we-learned-in-2025/
162•ColinWright•14h ago•65 comments

VisualJJ – Jujutsu in Visual Studio Code

https://www.visualjj.com/
13•demail•3d ago•0 comments

Opentrees.org (2024)

https://opentrees.org/#pos=1/-37.8/145
91•surprisetalk•4d ago•8 comments

Drawings of the elements of CMS detector, in the style of Leonardo da Vinci

https://cds.cern.ch/record/1157741/
34•nill0•3d ago•5 comments

Outsourcing thinking

https://erikjohannes.no/posts/20260130-outsourcing-thinking/index.html
161•todsacerdoti•14h ago•146 comments

Sometimes Your Job Is to Stay the Hell Out of the Way

https://randsinrepose.com/archives/sometimes-your-job-is-to-stay-the-hell-out-of-the-way/
73•ohjeez•4d ago•60 comments

Scientist who helped eradicate smallpox dies at age 89

https://www.scientificamerican.com/article/smallpox-eradication-champion-william-foege-dies-at-89/
233•CrossVR•4d ago•64 comments

Show HN: Moltbook – A social network for moltbots (clawdbots) to hang out

https://www.moltbook.com/
225•schlichtm•3d ago•833 comments

EV-1 for Lease (1996)

https://www.loe.org/shows/shows.html?programID=96-P13-00047#feature4
38•1970-01-01•2d ago•9 comments

Nvidia's 10-year effort to make the Shield TV the most updated Android device

https://arstechnica.com/gadgets/2026/01/inside-nvidias-10-year-effort-to-make-the-shield-tv-the-m...
169•qmr•20h ago•141 comments

Sparse File LRU Cache

http://ternarysearch.blogspot.com/2026/01/sparse-file-lru-cache.html
32•paladin314159•10h ago•6 comments

Nintendo DS code editor and scriptable game engine

https://crl.io/ds-game-engine/
139•Antibabelic•17h ago•34 comments

Finland looks to introduce Australia-style ban on social media

https://yle.fi/a/74-20207494
637•Teever•18h ago•451 comments

Apple Platform Security (Jan 2026) [pdf]

https://help.apple.com/pdf/security/en_US/apple-platform-security-guide.pdf
184•pieterr•19h ago•128 comments

Data Processing Benchmark Featuring Rust, Go, Swift, Zig, Julia etc.

https://github.com/zupat/related_post_gen
106•behnamoh•14h ago•57 comments

Show HN: Minimal – Open-Source Community driven Hardened Container Images

https://github.com/rtvkiz/minimal
91•ritvikarya98•15h ago•27 comments

CPython Internals Explained

https://github.com/zpoint/CPython-Internals
203•yufiz•4d ago•49 comments

Nonograms: a practical guide with interactive examples

https://lab174.com/blog/202601-nonograms/
41•merelysounds•4d ago•15 comments

Swift is a more convenient Rust (2023)

https://nmn.sh/blog/2023-10-02-swift-is-the-more-convenient-rust
298•behnamoh•13h ago•285 comments