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•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.

Chuwi Minibook X: the netbook we deserve

https://tylercipriani.com/blog/2026/05/28/chuwi-minibook-x/
23•thcipriani•56m ago•20 comments

Cloudflare Turnstile requiring fingerprintable WebGL

https://hacktivis.me/articles/cloudflare-turnstile-webgl-fingerprinting
471•HypnoticOcelot•9h ago•260 comments

1-Bit Bonsai Image 4B Image Generation for Local Devices

https://prismml.com/news/bonsai-image-4b
258•modinfo•8h ago•92 comments

New Beam Spring Keyboards

https://www.modelfkeyboards.com/product/beam-spring-b104-keyboard/
37•recursivedoubts•2d ago•15 comments

Dav2d

https://jbkempf.com/blog/2026/dav2d/
384•captain_bender•12h ago•133 comments

Creatine raises brain energy levels and slows cognitive decline: study

https://thesciverse.org/scientists-found-that-the-creatine-supplement-millions-take-for-muscle-ga...
440•MrJagil•7h ago•291 comments

The four programming questions from my 1994 Microsoft internship interview (2023)

https://www.computerenhance.com/p/the-four-programming-questions-from
53•tosh•3d ago•18 comments

United Airlines 767 returns to Newark after Bluetooth name sparks alert

https://simpleflying.com/united-airlines-767-returns-newark-bluetooth-name-alert/
239•Eridanus2•11h ago•380 comments

Codex just found a "workaround" of not having sudo on my PC

https://twitter.com/i/status/2060746160558543217
325•thunderbong•4h ago•143 comments

Meta launches Instagram, Facebook, and WhatsApp subscriptions

https://techcrunch.com/2026/05/27/meta-officially-launches-instagram-facebook-and-whatsapp-subscr...
97•tambourine_man•6h ago•142 comments

The Speed of Prototyping in the Age of AI

https://darylcecile.net/notes/speed-of-prototyping-age-of-ai
100•mooreds•7h ago•59 comments

It's Not Just X. It's Y

https://mail.cyberneticforests.com/its-not-just-data-its-post-training/
62•mooreds•1h ago•51 comments

Show HN: Streambed – Stream Postgres to Iceberg on S3, Supports Postgres Wire

https://github.com/viggy28/streambed
49•vira28•5h ago•5 comments

Linux/M68k

http://www.linux-m68k.org/
50•doener•2d ago•16 comments

What if remote working, not AI, is to blame for weak junior hiring?

https://www.ft.com/content/2205e2d0-50dc-4e80-9bf7-78d0272276c0
57•uxhacker•2d ago•84 comments

Restartable Sequences

https://justine.lol/rseq/
173•grappler•9h ago•51 comments

Unix in East Germany (GDR) (1990)

https://groups.google.com/g/comp.unix.wizards/c/QX_dxElrVNs
16•downbad_•2d ago•1 comments

Re: [PATCH] OOM_pardon, a.k.a. don't kill my xlock (2004)

https://lwn.net/Articles/104185/
48•luu•5h ago•40 comments

London's Free Roof Terraces

https://diamondgeezer.blogspot.com/2026/05/londons-free-roof-terraces.html
263•zeristor•16h ago•132 comments

The Website Specification

https://specification.website/
428•k1m•16h ago•180 comments

The History of "Prisencolinensinainciusol"

https://dirkdeklein.net/2026/02/03/the-fascinating-history-of-prisencolinensinainciusol-the-nonse...
19•NaOH•4h ago•1 comments

Websites have a new way to spy on visitors: analyzing their SSD activity

https://arstechnica.com/security/2026/05/websites-have-a-new-way-to-spy-on-visitors-analyzing-the...
97•Brajeshwar•3d ago•21 comments

Having your insulin pump die while you're on vacation

https://blog.lauramichet.com/what-its-like-to-have-the-machine-that-keeps-you-alive-die-while-you...
117•speckx•3d ago•131 comments

ChatGPT for Google Sheets is vulnerable to data exfiltration and phishing

https://www.promptarmor.com/resources/gpt-for-google-sheets-data-exfiltration
94•hackerBanana•3h ago•34 comments

'Backrooms' Stuns with $81M Debut

https://variety.com/2026/film/box-office/backrooms-box-office-record-opening-weekend-obsession-ju...
131•mindcrime•4h ago•37 comments

Backpressure is all you need

https://www.lucasfcosta.com/blog/backpressure-is-all-you-need
131•lucasfcosta•11h ago•83 comments

Odysseus – self-hosted AI workspace

https://github.com/pewdiepie-archdaemon/odysseus
100•Dzheky•8h ago•52 comments

Deflock hits 100k ALPRs Mapped in USA

https://deflock.org/
157•pilingual•6h ago•38 comments

New solar desalination breakthrough makes fresh water without toxic brine

https://www.sciencedaily.com/releases/2026/05/260530053418.htm
48•rmason•3h ago•5 comments

FROST: Fingerprinting Remotely using OPFS-based SSD Timing [pdf]

https://hannesweissteiner.com/pdfs/frost.pdf
47•simjnd•9h ago•15 comments