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.

CasNum

https://github.com/0x0mer/CasNum
181•aebtebeten•4h ago•24 comments

A decade of Docker containers

https://cacm.acm.org/research/a-decade-of-docker-containers/
225•zacwest•8h ago•165 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
144•theblazehen•1d ago•9 comments

Cloud VM benchmarks 2026: performance/price for 44 VM types over 7 providers

https://devblog.ecuadors.net/cloud-vm-benchmarks-2026-performance-price-1i1m.html
5•dkechag•40m ago•0 comments

The stagnancy of publishing and the disappearance of the midlist

https://www.honest-broker.com/p/the-day-ny-publishing-lost-its-soul
41•wallflower•4h ago•25 comments

Ghostmd: Ghostty but for Markdown Notes

https://mimoo.github.io/ghostmd/
15•baby•1h ago•14 comments

Effort to prevent government officials from engaging in prediction markets

https://www.merkley.senate.gov/merkley-klobuchar-launch-new-effort-to-ban-federal-elected-officia...
218•stopbulying•4h ago•72 comments

Ki Editor - an editor that operates on the AST

https://ki-editor.org/
363•ravenical•14h ago•132 comments

The influence of anxiety: Harold Bloom and literary inheritance

https://thepointmag.com/examined-life/the-influence-of-anxiety/
13•apollinaire•3d ago•1 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/
58•rfarley04•3d ago•6 comments

Package managers need to cool down

https://nesbitt.io/2026/03/04/package-managers-need-to-cool-down.html
44•zdw•3d ago•39 comments

FLASH radiotherapy's bold approach to cancer treatment

https://spectrum.ieee.org/flash-radiotherapy
182•marc__1•9h ago•57 comments

macOS code injection for fun and no profit (2024)

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

Put the zip code first

https://zipcodefirst.com
195•dsalzman•1h ago•154 comments

Lisp-style C++ template meta programming

https://github.com/mistivia/lmp
13•mistivia•3h ago•0 comments

Overheads (2023)

https://blog.xoria.org/hidden-overheads/
5•surprisetalk•1d ago•0 comments

Why developers using AI are working longer hours

https://www.scientificamerican.com/article/why-developers-using-ai-are-working-longer-hours/
40•birdculture•1h ago•24 comments

Autoresearch: Agents researching on single-GPU nanochat training automatically

https://github.com/karpathy/autoresearch
30•simonpure•5h ago•10 comments

LLM Writing Tropes.md

https://tropes.fyi/tropes-md
81•walterbell•4h ago•34 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/
38•jprs•6h ago•4 comments

Compiling Prolog to Forth [pdf]

https://vfxforth.com/flag/jfar/vol4/no4/article4.pdf
96•PaulHoule•4d ago•9 comments

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

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

Re-creating the complex cuisine of prehistoric Europeans

https://arstechnica.com/science/2026/03/recreating-the-complex-cuisine-of-prehistoric-europeans/
63•apollinaire•1d ago•25 comments

How important was the Battle of Hastings?

https://www.historytoday.com/archive/head-head/how-important-was-battle-hastings
4•benbreen•3d ago•4 comments

The yoghurt delivery women combatting loneliness in Japan

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

Bourdieu's theory of taste: a grumbling abrégé (2023)

https://dynomight.net/bourdieu/
36•sebg•2d ago•13 comments

Ask HN: Would you use a job board where every listing is verified?

24•BelVisgarra•3h ago•44 comments

Files are the interface humans and agents interact with

https://madalitso.me/notes/why-everyone-is-talking-about-filesystems/
171•malgamves•14h ago•106 comments

Show HN: ANSI-Saver – A macOS Screensaver

https://github.com/lardissone/ansi-saver
86•lardissone•10h ago•28 comments

Trampolining Nix with GenericClosure

https://blog.kleisli.io/post/trampolining-nix-with-generic-closure
8•ret2pop•2d ago•1 comments