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

Comments

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

SWE-CI: Evaluating Agent Capabilities in Maintaining Codebases via CI

https://arxiv.org/abs/2603.03823
38•mpweiher•1h ago•3 comments

Cloud VM benchmarks 2026

https://devblog.ecuadors.net/cloud-vm-benchmarks-2026-performance-price-1i1m.html
233•dkechag•9h ago•101 comments

"Warn about PyPy being unmaintained"

https://github.com/astral-sh/uv/pull/17643
182•networked•8h ago•64 comments

Show HN: Curiosity – DIY 6" Newtonian Reflector Telescope

https://curiosity-telescope.vercel.app/
19•big_Brain69•2h ago•2 comments

From RGB to L*a*b* color space (2024)

https://kaizoudou.com/from-rgb-to-lab-color-space/
34•kqr•4d ago•7 comments

Notes on Writing WASM

https://notes.brooklynzelenka.com/Blog/Notes-on-Writing-Wasm
4•vinhnx•46m ago•0 comments

CasNum

https://github.com/0x0mer/CasNum
280•aebtebeten•13h ago•35 comments

How to run Qwen 3.5 locally

https://unsloth.ai/docs/models/qwen3.5
157•Curiositry•10h ago•44 comments

Rijksmuseum researchers discover new painting by Rembrandt van Rijn

https://www.rijksmuseum.nl/en/press/press-releases/rijksmuseum-researchers-discover-new-painting-...
11•ohjeez•3d ago•0 comments

A decade of Docker containers

https://cacm.acm.org/research/a-decade-of-docker-containers/
300•zacwest•17h ago•202 comments

MonoGame: A .NET framework for making cross-platform games

https://github.com/MonoGame/MonoGame
77•azhenley•7h ago•46 comments

Emacs internals: Deconstructing Lisp_Object in C (Part 2)

https://thecloudlet.github.io/blog/project/emacs-02/
72•thecloudlet•2d ago•2 comments

Dumping Lego NXT firmware off of an existing brick (2025)

https://arcanenibble.github.io/dumping-lego-nxt-firmware-off-of-an-existing-brick.html
205•theblazehen•2d ago•11 comments

Yoghurt delivery women combatting loneliness in Japan

https://www.bbc.com/travel/article/20260302-the-yoghurt-delivery-women-combatting-loneliness-in-j...
290•ranit•20h ago•156 comments

Show HN: A weird thing that detects your pulse from the browser video

https://pulsefeedback.io/
83•kilroy123•3d ago•38 comments

Digital Iris [video]

https://www.youtube.com/watch?v=Kg_2MAgS_pE
7•surprisetalk•3d ago•1 comments

Best performance of a C++ singleton

https://andreasfertig.com/blog/2026/03/best-performance-of-a-cpp-singleton/
34•jandeboevrie•1d ago•20 comments

Autoresearch: Agents researching on single-GPU nanochat training automatically

https://github.com/karpathy/autoresearch
118•simonpure•13h ago•31 comments

The surprising whimsy of the Time Zone Database

https://muddy.jprs.me/links/2026-03-06-the-surprising-whimsy-of-the-time-zone-database/
124•jprs•15h ago•36 comments

I'm Not Consulting an LLM

https://lr0.org/blog/p/gpt/
23•birdculture•1h ago•2 comments

In 1985 Maxell built a bunch of life-size robots for its bad floppy ad

https://buttondown.com/suchbadtechads/archive/maxell-life-size-robots/
111•rfarley04•3d ago•13 comments

Ask HN: Why there are no actual studies that show AI is more productive?

16•make_it_sure•1h ago•16 comments

Ten years of deploying to production

https://brandonvin.github.io/2026/03/04/ten-years-of-deploying-to-production.html
30•mooreds•2d ago•4 comments

FLASH radiotherapy's bold approach to cancer treatment

https://spectrum.ieee.org/flash-radiotherapy
211•marc__1•18h ago•65 comments

macOS code injection for fun and no profit (2024)

https://mariozechner.at/posts/2024-07-20-macos-code-injection-fun/
94•jstrieb•3d ago•17 comments

Files are the interface humans and agents interact with

https://madalitso.me/notes/why-everyone-is-talking-about-filesystems/
222•malgamves•23h ago•121 comments

Sem – Semantic version control. Entity-level diffs on top of Git

https://github.com/ataraxy-labs/sem
6•pabs3•4h ago•0 comments

SigNoz (YC W21) is hiring for engineering, growth and product roles

https://signoz.io/careers
1•pranay01•17h ago

Lisp-style C++ template meta programming

https://github.com/mistivia/lmp
51•mistivia•11h ago•6 comments

To the Polypropylene Makers

https://www.lesswrong.com/posts/HQTueNS4mLaGy3BBL/here-s-to-the-polypropylene-makers
31•raldi•3h ago•4 comments