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

Comments

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

Alberta startup sells no-tech tractors for half price

https://wheelfront.com/this-alberta-startup-sells-no-tech-tractors-for-half-price/
1145•Kaibeezy•6h ago•396 comments

Apple fixes bug that cops used to extract deleted chat messages from iPhones

https://techcrunch.com/2026/04/22/apple-fixes-bug-that-cops-used-to-extract-deleted-chat-messages...
236•cdrnsf•2h ago•64 comments

We found a stable Firefox identifier linking all your private Tor identities

https://fingerprint.com/blog/firefox-tor-indexeddb-privacy-vulnerability/
321•danpinto•5h ago•94 comments

Qwen3.6-27B: Flagship-Level Coding in a 27B Dense Model

https://qwen.ai/blog?id=qwen3.6-27b
607•mfiguiere•10h ago•306 comments

5x5 Pixel font for tiny screens

https://maurycyz.com/projects/mcufont/
354•zdw•3d ago•93 comments

Over-editing refers to a model modifying code beyond what is necessary

https://nrehiew.github.io/blog/minimal_editing/
264•pella•5h ago•145 comments

Windows 9x Subsystem for Linux

https://social.hails.org/@hailey/116446826733136456
859•sohkamyung•13h ago•199 comments

The Illuminated Man: an unconventional portrait of JG Ballard

https://www.theguardian.com/books/2026/apr/20/the-illuminated-man-by-christopher-priest-and-nina-...
38•agronaut•3h ago•12 comments

Ping-pong robot beats top-level human players

https://www.reuters.com/sports/ping-pong-robot-ace-makes-history-by-beating-top-level-human-playe...
51•wslh•8h ago•55 comments

Website streamed live directly from a model

https://flipbook.page/
102•sethbannon•5h ago•41 comments

Technical, cognitive, and intent debt

https://martinfowler.com/fragments/2026-04-02.html
172•theorchid•7h ago•33 comments

Our eighth generation TPUs: two chips for the agentic era

https://blog.google/innovation-and-ai/infrastructure-and-cloud/google-cloud/eighth-generation-tpu...
371•xnx•11h ago•182 comments

3.4M Solar Panels

https://tech.marksblogg.com/american-solar-farms-v2.html
277•marklit•11h ago•210 comments

Scoring Show HN submissions for AI design patterns

https://www.adriankrebs.ch/blog/design-slop/
258•hubraumhugo•8h ago•190 comments

The Neon King of New Orleans

https://gardenandgun.com/new-orleans-neon-king
18•renameme•1h ago•1 comments

Parallel agents in Zed

https://zed.dev/blog/parallel-agents
133•ajeetdsouza•5h ago•78 comments

The great Scouse pasty war

https://www.livpost.co.uk/the-great-scouse-pasty-war/
33•DamonHD•2d ago•7 comments

Books are not too expensive

https://www.millersbookreview.com/p/no-books-are-not-remotely-too-expensive
19•herbertl•2d ago•13 comments

Ultraviolet corona discharges on treetops during storms

https://www.psu.edu/news/earth-and-mineral-sciences/story/treetops-glowing-during-storms-captured...
186•t-3•9h ago•53 comments

Workspace Agents in ChatGPT

https://openai.com/index/introducing-workspace-agents-in-chatgpt/
87•mfiguiere•5h ago•29 comments

Bodega cats of New York

https://bodegacatsofnewyork.com
138•zdw•4d ago•55 comments

You don't need advice from editors on rejected manuscripts

https://twitter.com/orsonscottcard/status/2046702294406680751
92•MrBuddyCasino•15h ago•54 comments

First per-image PCA decomposition of Kodak suite reveals deliberate curation

https://github.com/PearsonZero/kodak-pcd0992-statistical-characterization
6•PearsonZero•2d ago•0 comments

What killed the Florida orange?

https://slate.com/business/2026/04/florida-state-orange-food-houses-real-estate.html
92•danso•2d ago•85 comments

GitHub CLI now collects pseudoanonymous telemetry

https://cli.github.com/telemetry
387•ingve•11h ago•286 comments

Another Day Has Come

https://daringfireball.net/2026/04/another_day_has_come
173•ndr42•1d ago•138 comments

Surveillance Pricing: Exploiting Information Asymmetries

https://lpeproject.org/blog/surveillance-pricing-exploiting-information-asymmetries/
87•cainxinth•6h ago•34 comments

Anonymous credentials: an illustrated primer (Part 2)

https://blog.cryptographyengineering.com/2026/04/17/anonymous-credentials-an-illustrated-primer-p...
24•kkl•2d ago•0 comments

Show HN: Broccoli, one shot coding agent on the cloud

https://github.com/besimple-oss/broccoli
48•yzhong94•7h ago•33 comments

Columnar Storage Is Normalization

https://buttondown.com/jaffray/archive/columnar-storage-is-normalization/
99•ibobev•10h ago•36 comments