frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Right-Truncatable Prime Counter

https://github.com/EbodShojaei/Right-Truncatable-Primes
9•rainmans•1y ago

Comments

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

Protecting SSH Keys with macOS Secure Enclave

https://gatezh.com/posts/macos-secure-enclave-ssh-keys/
208•js2•6h ago•79 comments

Smart home devices should work without the internet

https://docodethatmatters.com/home-automation-overnight-success/
965•skittleson•19h ago•346 comments

.name Grandfathered

https://neil.fraser.name/news/2026/11/10/
850•p4bl0•18h ago•184 comments

Scion is back and is going to sell a kei truck in America

https://www.theautopian.com/scion-is-back-and-its-going-to-sell-a-freaking-kei-truck-in-america/
479•NaOH•14h ago•315 comments

Greg Kurtzer's Ginux is now a userspace kernel

https://github.com/gmkurtzer/ginux
74•d3Xt3r•5h ago•36 comments

Plane lifted into back garden as bunker takes shape

https://www.bbc.co.uk/news/articles/cqkgjv4pj023o
11•edward•1d ago•0 comments

A great old-timey game-programming hack (2013)

https://blog.moertel.com/posts/2013-12-14-great-old-timey-game-programming-hack.html
171•palsecam•8h ago•34 comments

Apple has new Mac app coming to make running local AI models easy

https://9to5mac.com/2026/11/10/apple-has-new-mac-app-coming-to-make-running-local-ai-models-easy/
265•linolevan•13h ago•223 comments

To deter bioterrorism, U.S. imposes new rules on ordering synthetic DNA

https://www.science.org/content/article/deter-bioterrorism-u-s-imposes-new-rules-ordering-synthet...
104•Metacelsus•7h ago•65 comments

Six Math Essentials

https://teorth.github.io/tao-web/six-math-essentials.html
253•digital55•13h ago•45 comments

Why I wrote the BEAM book (2025)

https://happihacking.com/blog/posts/2025/why_I_wrote_theBEAMBook/
99•zenincognito•1d ago•16 comments

Synaptics patent claims stop work on DisplayLink drivers

https://lwn.net/SubscriberLink/1102549/acbc92e00cee3a3f/
407•speckx•16h ago•229 comments

Starlink Mini 2

https://starlink.com/mini-2
421•robertjfclarke•16h ago•424 comments

AlphaProof Code

https://deepmind.google/blog/introducing-alphaproof-code/
640•ilreb•22h ago•185 comments

A Compendium of Abandoned Greenhouses

https://www.messynessychic.com/2015/01/15/a-compendium-of-abandoned-greenhouses/
47•ohjeez•2d ago•2 comments

Why Amstrad chose the 3" drives

https://www.cpcwiki.eu/forum/amstrad-cpc-hardware/why-amstrad-chose-the-3-drives/
42•Skyfall106•4d ago•8 comments

Val Town is winding down

https://blog.val.town/winding-down
387•tosh•17h ago•96 comments

Show HN: Black Ops II statically recompiled to native ARM64 macOS

https://github.com/adrbn/bo2-mac
26•adrbn•5h ago•2 comments

A ZIP-style Prolog VM for trilog

https://github.com/no382001/zipc
16•triska•1d ago•4 comments

Tracking Anthropic-discovered vulnerabilities

https://www.vulncheck.com/blog/anthropic-glasswing-november-update
402•panic•12h ago•192 comments

Show HN: Get your coding agent off ~2019 JavaScript, onto modern web primitives

https://github.com/GoogleChrome/modern-web-guidance
371•paulirish•16h ago•112 comments

Hacking the Meta Ray-Ban smartglasses

https://p0pcycle.com/2026/11/06/hacking-the-meta-ray-ban-smartglasses/
120•moooooky•3d ago•41 comments

Claude Whiteboards, Claude Sheets, and Claude Data

https://claude.com/resources/articles/sheets-whiteboards-data
231•Yorothegoat•16h ago•165 comments

AI usage generates a fragile codebase

https://evanxmerz.com/post/ai-usage-generates-a-fragile-codebase/
561•plun9•1d ago•530 comments

"Jumping genes" helped ants evolve after the extinction of the dinosaurs

https://www.uni-muenster.de/news/view.php?cmdid=15659&utm_source=join1440&utm_medium=email&utm_pl...
13•gmays•2d ago•0 comments

LLMs Play Zachtronics' TIS-100

https://tis-100.wincon.dev/
71•fairestvalue•10h ago•12 comments

$30M Raised to Redo the CPU

https://tendrils.co/blog/2026-11-10/30m-raised
105•shioyama•12h ago•108 comments

AMD's Zen 6 Family: Feeding the Beast

https://chipsandcheese.com/p/amds-zen-6-family-feeding-the-beast
240•pixelpoet•17h ago•95 comments

Process Explorer for macOS

https://github.com/microsoft/Procexp-Mac
210•ingve•1d ago•66 comments

Announcing .NET 11

https://devblogs.microsoft.com/dotnet/announcing-dotnet-11/
194•runesoerensen•18h ago•247 comments