frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Right-Truncatable Prime Counter

https://github.com/EbodShojaei/Right-Truncatable-Primes
9•rainmans•1y ago

Comments

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

Magnitude 7.7 Earthquake – 68 km NNW of Ende, Indonesia

https://earthquake.usgs.gov/earthquakes/eventpage/us6000tkt2/executive
161•Bender•4h ago•31 comments

Qwen 3.8 27B

https://huggingface.co/Qwen/Qwen3.8-27B-FP8
1013•erdaltoprak•14h ago•648 comments

I close SSH port 22 (and what I use instead)

https://www.michelebologna.net/2026/ssh-port-22-fwknop-single-packet-authorization/
30•speckx•4d ago•29 comments

The other Sean Byrne doesn't exist

https://conic.al/writing/the-other-sean-byrne-doesnt-exist/
16•rdl•1h ago•4 comments

Going Dark, and the era of law enforcement hacking

https://blog.cryptographyengineering.com/2026/08/14/everything-is-about-to-go-dark/
277•vslira•8h ago•136 comments

The Ploopy A+ Trackball Is Here

https://blog.ploopy.co/the-aplus-is-finally-here-499
77•big_toast•4h ago•36 comments

Google is making private AI practical with homomorphic encryption

https://blog.google/security/how-google-is-making-private-ai-practical-with-homomorphic-encryption/
338•u1hcw9nx•14h ago•198 comments

eigendrum

https://eigendrum.com/#p=circle
89•bookofjoe•7h ago•21 comments

AI Driven Testing

https://app.deltix.ai
18•oneounceman•3h ago•7 comments

Coin-Sized Device Can Hack a Boeing 737

https://www.wired.com/story/this-coin-sized-device-can-hack-a-boeing-737/
6•_tk_•1d ago•0 comments

Simplifying and Refactoring Introductory Calculus

https://arxiv.org/abs/1811.03459
64•E-Reverance•5h ago•22 comments

RustDesk now supports true unattended remote access on Wayland

https://rustdesk.com/blog/unattended-remote-access-wayland/
253•rustdesk•13h ago•110 comments

Firefox is now the last major browser that still supports uBlock Origin

https://www.pcworld.com/article/3212428/firefox-is-now-the-last-major-browser-that-still-supports...
694•DemiGuru•10h ago•261 comments

Unearthing a 31 year old Easter egg in Ecco the Dolphin

https://32bits.substack.com/p/under-the-microscope-ecco-the-dolphin-98c
61•bbayles•2d ago•14 comments

Hi-Fi Tape Recorder Changed Radio Forever

https://spectrum.ieee.org/magnetophon-laugh-track
33•Jimmc414•3d ago•5 comments

AI by Hand

https://www.byhand.ai/
253•sans_souse•13h ago•20 comments

Show HN: A website for exploring historical photographs of my city

https://yesterdays.maprva.org/
18•uneekname•2d ago•8 comments

Super Mario Derivations

https://fzakaria.com/2026/08/05/super-mario-derivations
82•domenkozar•1w ago•14 comments

Maximizing the value of your Claude Code sessions

https://claude.com/blog/maximizing-the-value-of-your-claude-code-sessions
169•twapi•13h ago•107 comments

I turned my RSS feeds into an e-ink newspaper to stop reading on my phone

https://heyjonny.dev/posts/rss-to-eink-newspaper/
168•speckx•15h ago•65 comments

Introducing Toast 1

https://www.mixedbread.com/blog/toast-1
190•mplappert•14h ago•59 comments

Ultraviolet Bird Photography

https://uvbirds.com/
130•EndXA•1w ago•23 comments

Turbo Pascal on CP/M, MSX-DOS and MS-DOS

http://pascal.hansotten.com/delphi/turbo-pascal-on-cpm-msx-dos-and-ms-dos/
86•rbanffy•2d ago•29 comments

Racket v9.3

https://blog.racket-lang.org/2026/08/racket-v9-3.html
57•privong•11h ago•2 comments

GLM-5.3: Frontier coding with emergent cyber capabilities

https://z.ai/blog/glm-5.3
1063•pella•1d ago•525 comments

Why does Opus 5 feel worse to work with?

https://mun-logadan.github.io/why-does-opus-5-feel-worse/
822•numeri•19h ago•752 comments

Show HN: Ember – Redshift safe color palettes

https://github.com/carpdiem/ember
83•carpdiem•5d ago•18 comments

The End of Mathematics

https://www.daniellitt.com/blog/2026/8/11/the-end-of-mathematics
4•practal•2h ago•0 comments

Show HN: Mole – Deep research agent for your terminal

https://github.com/lajosdeme/mole
59•lajosdeme•10h ago•10 comments

Seven books I keep close because I love them

https://blog.plover.com/2026/08/02/
331•surprisetalk•14h ago•149 comments