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

Comments

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

Zerostack – A Unix-inspired coding agent written in pure Rust

https://crates.io/crates/zerostack/1.0.0
349•gidellav•9h ago•144 comments

Mozilla to UK regulators: VPNs are essential privacy and security tools

https://blog.mozilla.org/netpolicy/2026/05/15/mozilla-to-uk-regulators-vpns-are-essential-privacy...
87•WithinReason•1h ago•10 comments

Colossus: The Forbin Project

https://en.wikipedia.org/wiki/Colossus:_The_Forbin_Project
88•doener•2d ago•16 comments

Hosting a website on an 8-bit microcontroller

https://maurycyz.com/projects/mcusite/
111•zdw•6h ago•8 comments

A nicer voltmeter clock

https://lcamtuf.substack.com/p/a-nicer-voltmeter-clock
155•surprisetalk•9h ago•22 comments

C++26 Shipped a SIMD Library Nobody Asked For

https://lucisqr.substack.com/p/c26-shipped-a-simd-library-nobody
110•signa11•2d ago•58 comments

OpenAI and Government of Malta partner to roll out ChatGPT Plus to all citizens

https://openai.com/index/malta-chatgpt-plus-partnership/
161•bookofjoe•11h ago•175 comments

Moving away from Tailwind, and learning to structure my CSS

https://jvns.ca/blog/2026/05/15/moving-away-from-tailwind--and-learning-to-structure-my-css-/
520•mpweiher•22h ago•311 comments

SANA-WM, a 2.6B open-source world model for 1-minute 720p video

https://nvlabs.github.io/Sana/WM/
331•mjgil•20h ago•135 comments

Illusions of Understanding in the Sciences

https://link.springer.com/article/10.1007/s42113-026-00271-1
34•sebg•2d ago•7 comments

Unknowable Math Can Help Hide Secrets

https://www.quantamagazine.org/how-unknowable-math-can-help-hide-secrets-20260511/
49•Xcelerate•3d ago•8 comments

The Third Hard Problem

https://mmapped.blog/posts/48-the-third-hard-problem
64•surprisetalk•2d ago•38 comments

We've made the world too complicated

https://user8.bearblog.dev/the-world-is-too-complicated/
279•James72689•23h ago•251 comments

MCP Hello Page

https://www.hybridlogic.co.uk/blog/2026/05/mcp-hello-page
87•Dachande663•9h ago•31 comments

Accelerando (2005)

https://www.antipope.org/charlie/blog-static/fiction/accelerando/accelerando.html
279•eamag•20h ago•160 comments

A molecule with half-Möbius topology

https://www.science.org/doi/10.1126/science.aea3321
88•bryanrasmussen•4d ago•6 comments

Why did Clovis toolmakers choose difficult quartz crystal?

https://phys.org/news/2026-04-clovis-toolmakers-difficult-quartz-crystal.html
19•PaulHoule•2d ago•7 comments

Frontier AI has broken the open CTF format

https://kabir.au/blog/the-ctf-scene-is-dead
371•frays•1d ago•369 comments

Citroën metropolis concept car (2010)

https://www.citroenet.org.uk/prototypes/metropolis/metropolis1.html
18•Alifatisk•1d ago•7 comments

Halt and Catch Fire

https://unstack.io/halt-and-catch-fire
125•ScottWRobinson•13h ago•66 comments

Tesla Solar Roof is on life support as it pivot to panels

https://electrek.co/2026/05/14/tesla-solar-roof-promise-vs-reality-pivot-panels/
65•celsoazevedo•3h ago•45 comments

δ-mem: Efficient Online Memory for Large Language Models

https://arxiv.org/abs/2605.12357
210•44za12•22h ago•56 comments

Twilight of the Velocipede: Typesetting Races Before the Age of Linotype

https://publicdomainreview.org/essay/twilight-of-the-velocipede/
5•benbreen•10h ago•0 comments

Self-Distillation Enables Continual Learning [pdf]

https://arxiv.org/abs/2601.19897
53•teleforce•6h ago•13 comments

Grafana Labs internal source code accessed

https://twitter.com/grafana/status/2055827123236171827
44•jschorr•4h ago•10 comments

3D Gaussian Splatting in a Weekend

https://bfeldman.me/3dgs-weekend/
84•b__feldman•3d ago•10 comments

Content-defined chunking added to Bazel

https://www.buildbuddy.io/blog/content-defined-chunking/
48•siggi•3d ago•4 comments

Fisker went bankrupt and owners built an open source car company from the ashes

https://electrek.co/2026/05/16/fisker-ocean-open-source-ev-story-after-bankruptcy/
125•breve•8h ago•46 comments

Show HN: Rocksky – Music scrobbling and discovery on the AT Protocol

https://tangled.org/rocksky.app/rocksky
73•tsiry•15h ago•33 comments

Greek Alphabet Cards

https://labs.randomquark.com/alphabet_cards/
119•ricochet11•20h ago•56 comments