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

Comments

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

AI Makes the Easy Part Easier and the Hard Part Harder

https://www.blundergoat.com/articles/ai-makes-the-easy-part-easier-and-the-hard-part-harder
39•weaksauce•1h ago•15 comments

Vouch

https://github.com/mitchellh/vouch
555•chwtutha•21h ago•239 comments

Reverse Engineering the Prom for the SGI O2

https://mattst88.com/blog/2026/02/08/Reverse_Engineering_the_PROM_for_the_SGI_O2/
28•mattst88•1h ago•5 comments

More Mac malware from Google search

https://eclecticlight.co/2026/01/30/more-malware-from-google-search/
55•kristianp•3h ago•22 comments

Shifts in U.S. Social Media Use, 2020–2024: Decline, Fragmentation, Polarization (2025)

https://arxiv.org/abs/2510.25417
107•vinnyglennon•2h ago•84 comments

Apple XNU: Clutch Scheduler

https://github.com/apple-oss-distributions/xnu/blob/main/doc/scheduler/sched_clutch_edge.md
65•tosh•3h ago•9 comments

Ask HN: What are you working on? (February 2026)

43•david927•4h ago•127 comments

Roundcube Webmail: SVG feImage bypasses image blocking to track email opens

https://nullcathedral.com/posts/2026-02-08-roundcube-svg-feimage-remote-image-bypass/
94•nullcathedral•5h ago•20 comments

Toma (YC W24) Is Hiring Founding Engineers

https://www.ycombinator.com/companies/toma/jobs/oONUnCf-founding-engineer-ai-products
1•anthonykrivonos•1h ago

The Little Bool of Doom (2025)

https://blog.svgames.pl/article/the-little-bool-of-doom
75•pocksuppet•6h ago•28 comments

A GTA modder has got the 1997 original working on modern PCs and Steam Deck

https://gtaforums.com/topic/986492-grand-theft-auto-ready2play-full-game-windows-version/
111•HelloUsername•3h ago•44 comments

Show HN: I created a Mars colony RPG based on Kim Stanley Robinson's Mars books

https://underhillgame.com/
121•ariaalam•7h ago•51 comments

Running Your Own As: BGP on FreeBSD with FRR, GRE Tunnels, and Policy Routing

https://blog.hofstede.it/running-your-own-as-bgp-on-freebsd-with-frr-gre-tunnels-and-policy-routing/
130•todsacerdoti•10h ago•48 comments

Exploiting signed bootloaders to circumvent UEFI Secure Boot

https://habr.com/en/articles/446238/
88•todsacerdoti•9h ago•50 comments

I put a real-time 3D shader on the Game Boy Color

https://blog.otterstack.com/posts/202512-gbshader/
233•adunk•7h ago•28 comments

RFC 3092 – Etymology of "Foo" (2001)

https://datatracker.ietf.org/doc/html/rfc3092
114•ipnon•9h ago•29 comments

Dave Farber has died

https://lists.nanog.org/archives/list/nanog@lists.nanog.org/thread/TSNPJVFH4DKLINIKSMRIIVNHDG5XKJCM/
200•vitplister•12h ago•31 comments

Everything – Locate files and folders by name instantly

https://www.voidtools.com/
92•idw•2h ago•37 comments

GitHub Agentic Workflows

https://github.github.io/gh-aw/
197•mooreds•10h ago•109 comments

Omega-3 is inversely related to risk of early-onset dementia

https://pubmed.ncbi.nlm.nih.gov/41506004/
220•brandonb•7h ago•133 comments

Ktkit: A Kotlin toolkit for building server applications with Ktor

https://github.com/smyrgeorge/ktkit
6•smyrgeorge•4d ago•0 comments

Curating a Show on My Ineffable Mother, Ursula K. Le Guin

https://hyperallergic.com/curating-a-show-on-my-ineffable-mother-ursula-k-le-guin/
154•bryanrasmussen•14h ago•52 comments

Bun v1.3.9

https://bun.com/blog/bun-v1.3.9
136•tosh•6h ago•33 comments

OpenClaw is changing my life

https://reorx.com/blog/openclaw-is-changing-my-life/
217•novoreorx•17h ago•355 comments

Show HN: It took 4 years to sell my startup. I wrote a book about it

https://derekyan.com/ma-book/
185•zhyan7109•4d ago•51 comments

Billing can be bypassed using a combo of subagents with an agent definition

https://github.com/microsoft/vscode/issues/292452
182•napolux•7h ago•93 comments

The first sodium-ion battery EV is a winter range monster

https://insideevs.com/news/786509/catl-changan-worlds-first-sodium-ion-battery-ev/
125•andrewjneumann•7h ago•139 comments

Let's compile Quake like it's 1997

https://fabiensanglard.net/compile_like_1997/index.html
131•birdculture•7h ago•49 comments

Why E cores make Apple silicon fast

https://eclecticlight.co/2026/02/08/last-week-on-my-mac-why-e-cores-make-apple-silicon-fast/
226•ingve•12h ago•218 comments

Reverse Engineering Raiders of the Lost Ark for the Atari 2600

https://github.com/joshuanwalker/Raiders2600
83•pacod•15h ago•3 comments