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

Comments

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

A Faster Alternative to Jq

https://micahkepe.com/blog/jsongrep/
84•pistolario•2h ago•44 comments

Schedule tasks on the web

https://code.claude.com/docs/en/web-scheduled-tasks
134•iBelieve•4h ago•85 comments

The European AllSky7 fireball network

https://www.allsky7.net/#archive
39•marklit•2h ago•4 comments

Apple discontinues the Mac Pro

https://9to5mac.com/2026/03/26/apple-discontinues-the-mac-pro/
344•bentocorp•12h ago•271 comments

Why so many control rooms were seafoam green (2025)

https://bethmathews.substack.com/p/why-so-many-control-rooms-were-seafoam
794•Amorymeltzer•1d ago•149 comments

Show HN: I put an AI agent on a $7/month VPS with IRC as its transport layer

https://georgelarson.me/writing/2026-03-23-nullclaw-doorman/
236•j0rg3•10h ago•73 comments

21,864 Yugoslavian .yu Domains

https://jacobfilipp.com/yu/
34•speckx•3d ago•38 comments

The Legibility of Serif and Sans Serif Typefaces (2022)

https://library.oapen.org//handle/20.500.12657/53344
39•the-mitr•3d ago•11 comments

$500 GPU outperforms Claude Sonnet on coding benchmarks

https://github.com/itigges22/ATLAS
244•yogthos•15h ago•108 comments

DOOM Over DNS

https://github.com/resumex/doom-over-dns
276•Venn1•3d ago•83 comments

Show HN: Minimalist library to generate SVG views of scientific data

https://github.com/alefore/mini_svg/
22•afc•3d ago•2 comments

Whistler: Live eBPF Programming from the Common Lisp REPL

https://atgreen.github.io/repl-yell/posts/whistler/
91•varjag•3d ago•4 comments

My minute-by-minute response to the LiteLLM malware attack

https://futuresearch.ai/blog/litellm-attack-transcript/
365•Fibonar•17h ago•138 comments

Everything old is new again: memory optimization

https://nibblestew.blogspot.com/2026/03/everything-old-is-new-again-memory.html
9•ibobev•3d ago•0 comments

We rewrote JSONata with AI in a day, saved $500k/year

https://www.reco.ai/blog/we-rewrote-jsonata-with-ai
154•cjlm•10h ago•135 comments

Generators in Lone Lisp

https://www.matheusmoreira.com/articles/generators-in-lone-lisp
38•matheusmoreira•3d ago•2 comments

HyperAgents: Self-referential self-improving agents

https://github.com/facebookresearch/hyperagents
180•andyg_blog•2d ago•65 comments

Running Tesla Model 3's computer on my desk using parts from crashed cars

https://bugs.xdavidhu.me/tesla/2026/03/23/running-tesla-model-3s-computer-on-my-desk-using-parts-...
891•driesdep•1d ago•305 comments

Anthropic Subprocessor Changes

https://trust.anthropic.com
74•tencentshill•11h ago•35 comments

Chroma Context-1: Training a Self-Editing Search Agent

https://www.trychroma.com/research/context-1
45•philip1209•14h ago•3 comments

OpenTelemetry profiles enters public alpha

https://opentelemetry.io/blog/2026/profiles-alpha/
167•tanelpoder•17h ago•24 comments

We haven't seen the worst of what gambling and prediction markets will do

https://www.derekthompson.org/p/we-havent-seen-the-worst-of-what
720•mmcclure•13h ago•500 comments

Agent-to-agent pair programming

https://axeldelafosse.com/blog/agent-to-agent-pair-programming
68•axldelafosse•7h ago•21 comments

Using FireWire on a Raspberry Pi

https://www.jeffgeerling.com/blog/2026/firewire-on-a-raspberry-pi/
83•jandeboevrie•13h ago•38 comments

Show HN: Fio: 3D World editor/game engine – inspired by Radiant and Hammer

https://github.com/ViciousSquid/Fio
67•vicioussquid•12h ago•6 comments

John Bradley, author of xv, has died

https://voxday.net/2026/03/25/rip-john-bradley/
262•linsomniac•14h ago•81 comments

Colibri – chat platform built on the AT Protocol for communities big and small

https://colibri.social/
119•todotask2•16h ago•73 comments

Suddenly energy independence feels practical:Europeans building mini solar farms

https://www.euronews.com/2026/03/26/suddenly-energy-independence-feels-practical-europeans-are-bu...
5•vrganj•34m ago•0 comments

Chicago artist creates tourism posters for city's neighborhoods

https://www.chicagotribune.com/2026/03/25/chicago-neighborhood-posters/
88•NaOH•10h ago•41 comments

CERN to host a new phase of Open Research Europe

https://home.cern/news/news/cern/cern-host-europes-flagship-open-access-publishing-platform
220•JohnHammersley•14h ago•21 comments