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.

Calendar

https://neatnik.net/calendar/?year=2026
91•twapi•1h ago•16 comments

Replacing JavaScript with Just HTML

https://www.htmhell.dev/adventcalendar/2025/27/
236•soheilpro•5h ago•65 comments

Fathers’ choices may be packaged and passed down in sperm RNA

https://www.quantamagazine.org/how-dads-fitness-may-be-packaged-and-passed-down-in-sperm-rna-2025...
124•vismit2000•4h ago•50 comments

How we lost communication to entertainment

https://ploum.net/2025-12-15-communication-entertainment.html
362•8organicbits•9h ago•185 comments

Floor796

https://floor796.com/
669•krtkush•16h ago•81 comments

Rex is a safe kernel extension framework that allows Rust in the place of eBPF

https://github.com/rex-rs/rex
5•zdw•5d ago•0 comments

Gpg.fail

https://gpg.fail
325•todsacerdoti•13h ago•174 comments

Text rendering hates you (2019)

https://faultlore.com/blah/text-hates-you/
118•andsoitis•6d ago•42 comments

Project Vend: Phase Two

https://www.anthropic.com/research/project-vend-2
98•kubami•5d ago•31 comments

Rainbow Six Siege hacked as players get billions of credits and random bans

https://www.shanethegamer.com/esports-news/rainbow-six-siege-hacked-global-server-outage/
140•erhuve•10h ago•44 comments

Immer – A library of persistent and immutable data structures written in C++

https://github.com/arximboldi/immer
50•smartmic•6d ago•7 comments

Dialtone – AOL 3.0 Server

https://dialtone.live/
14•rickcarlino•2h ago•5 comments

Windows 2 for the Apricot PC/Xi

https://www.ninakalinina.com/notes/win2apri/
115•todsacerdoti•11h ago•25 comments

Liberating Bluetooth on the ESP32

https://exquisite.tube/w/mEzF442Q4hUXnhQ8HmfZuq
35•todsacerdoti•7h ago•3 comments

7- and 14-segment fonts "DSEG"

https://www.keshikan.net/fonts.html
29•anigbrowl•7h ago•3 comments

Show HN: Ez FFmpeg – Video editing in plain English

http://npmjs.com/package/ezff
357•josharsh•21h ago•174 comments

Nvidia's $20B antitrust loophole

https://ossa-ma.github.io/blog/groq
401•ossa-ma•12h ago•128 comments

Janet Jackson had the power to crash laptop computers (2022)

https://devblogs.microsoft.com/oldnewthing/20220816-00/?p=106994
254•montalbano•12h ago•102 comments

Clock synchronization is a nightmare

https://arpitbhayani.me/blogs/clock-sync-nightmare/
165•grep_it•4d ago•109 comments

Interton Video Computer 4000

https://en.wikipedia.org/wiki/Interton_Video_Computer_4000
5•doener•6d ago•1 comments

OrangePi 6 Plus Review

https://boilingsteam.com/orange-pi-6-plus-review/
155•ekianjo•17h ago•135 comments

Functional programming and reliability: ADTs, safety, critical infrastructure

https://blog.rastrian.dev/post/why-reliability-demands-functional-programming-adts-safety-and-cri...
78•rastrian•6h ago•65 comments

Say No to Palantir in the NHS

https://notopalantir.goodlawproject.org/email-to-target/stop-palantir-in-the-nhs/
161•_____k•8h ago•40 comments

The Dangers of SSL Certificates

https://surfingcomplexity.blog/2025/12/27/the-dangers-of-ssl-certificates/
39•azhenley•7h ago•52 comments

Toll roads are spreading in America

https://www.economist.com/united-states/2025/12/18/toll-roads-are-spreading-in-america
164•smurda•11h ago•452 comments

Ask HN: Resources to get better at outbound sales?

175•sieep•6d ago•43 comments

Show HN: Mysti – Claude, Codex, and Gemini debate your code, then synthesize

https://github.com/DeepMyst/Mysti
183•bahaAbunojaim•4d ago•146 comments

Pfizer ended up passing on my GLP-1 work back in the early '90s (2024)

https://www.statnews.com/2024/09/09/glp-1-history-pfizer-john-baxter-jeffrey-flier-calbio-metabio/
90•rajlego•8h ago•39 comments

Mruby: Ruby for Embedded Systems

https://github.com/mruby/mruby
131•nateb2022•6d ago•33 comments

Public Domain Day 2026

https://web.law.duke.edu/cspd/publicdomainday/2026/
17•rolph•7h ago•1 comments