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
118•gidellav•2h ago•40 comments

A nicer voltmeter clock

https://lcamtuf.substack.com/p/a-nicer-voltmeter-clock
36•surprisetalk•2h ago•5 comments

MCP Hello Page

https://www.hybridlogic.co.uk/blog/2026/05/mcp-hello-page
44•Dachande663•2h ago•15 comments

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

https://nvlabs.github.io/Sana/WM/
290•mjgil•12h ago•122 comments

A molecule with half-Möbius topology

https://www.science.org/doi/10.1126/science.aea3321
57•bryanrasmussen•4d ago•0 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-/
421•mpweiher•15h ago•270 comments

The Third Hard Problem

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

Halt and Catch Fire

https://unstack.io/halt-and-catch-fire
73•ScottWRobinson•6h ago•46 comments

Content-defined chunking added to Bazel

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

Accelerando (2005)

https://www.antipope.org/charlie/blog-static/fiction/accelerando/accelerando.html
235•eamag•13h ago•139 comments

Frontier AI has broken the open CTF format

https://kabir.au/blog/the-ctf-scene-is-dead
336•frays•17h ago•315 comments

δ-mem: Efficient Online Memory for Large Language Models

https://arxiv.org/abs/2605.12357
191•44za12•15h ago•51 comments

Project Gutenberg – keeps getting better

https://www.gutenberg.org/
1159•JSeiko•1d ago•272 comments

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

https://openai.com/index/malta-chatgpt-plus-partnership/
48•bookofjoe•4h ago•62 comments

We've made the world too complicated

https://user8.bearblog.dev/the-world-is-too-complicated/
176•James72689•16h ago•172 comments

Kioxia and Dell cram 10 PB into slim 2RU server

https://www.blocksandfiles.com/flash/2026/05/14/kioxia-and-dell-cram-10-pb-into-slim-2ru-server/5...
107•rbanffy•7h ago•72 comments

Fame! A Misunderstanding: A new translation of Albert Camus's complete notebooks

https://lareviewofbooks.org/article/albert-camus-complete-notebooks-ryan-bloom-existentialism-abs...
40•Caiero•3d ago•7 comments

3D Gaussian Splatting in a Weekend

https://bfeldman.me/3dgs-weekend/
43•b__feldman•3d ago•6 comments

PART Telescopes – Bringing radio astronomy within reach of rural schools

https://parttelescopes.web.app/
102•openrockets•9h ago•28 comments

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

https://tangled.org/rocksky.app/rocksky
53•tsiry•7h ago•20 comments

Stochastic Parrots: Frequently Unasked Questions

https://medium.com/@emilymenonbender/stochastic-parrots-frequently-unasked-questions-49c2e7d22d11
9•olalonde•3d ago•2 comments

Greek Alphabet Cards

https://labs.randomquark.com/alphabet_cards/
94•ricochet11•12h ago•46 comments

Futhark by example (2020)

https://futhark-lang.org/examples.html
108•tosh•15h ago•26 comments

Japan’s robot wolf sells out as record bear attacks drive demand

https://www.independent.co.uk/asia/japan/japan-robot-wolf-bear-attacks-ohta-seiki-b2975670.html
83•bookofjoe•5h ago•45 comments

Nearly 50 Years Later, WKRP in Cincinnati Becomes a Real Radio Station

https://www.openculture.com/2026/05/nearly-50-years-later-wkrp-in-cincinnati-becomes-a-real-radio...
99•bookofjoe•4d ago•63 comments

I believe there are entire companies right now under AI psychosis

https://twitter.com/mitchellh/status/2055380239711457578
1869•reasonableklout•1d ago•1053 comments

Accelerate – Embedded language for high-performance array computations

https://github.com/AccelerateHS/accelerate
74•tosh•11h ago•17 comments

DeepSeek-V4-Flash means LLM steering is interesting again

https://www.seangoedecke.com/steering-vectors/
203•Brajeshwar•9h ago•67 comments

After 8 years, I rewrote my open-source PyTorch curvature library

https://github.com/noahgolmant/pytorch-hessian-eigenthings
72•noahgolmant•2d ago•1 comments

HTML Lists

https://blog.frankmtaylor.com/2026/05/13/you-dont-know-html-lists/
281•speckx•7h ago•62 comments