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•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.

Keep Android Open

https://f-droid.org/2026/02/20/twif.html
1539•LorenDB•17h ago•572 comments

Andrej Karpathy talks about "Claws"

https://simonwillison.net/2026/Feb/21/claws/
57•helloplanets•1h ago•46 comments

Acme Weather

https://acmeweather.com/blog/introducing-acme-weather
55•cryptoz•3h ago•34 comments

Turn Dependabot off

https://words.filippo.io/dependabot/
474•todsacerdoti•13h ago•127 comments

I found a Vulnerability. They found a Lawyer

https://dixken.de/blog/i-found-a-vulnerability-they-found-a-lawyer
617•toomuchtodo•15h ago•278 comments

Facebook is cooked

https://pilk.website/3/facebook-is-absolutely-cooked
1115•npilk•16h ago•600 comments

Trunk Based Development

https://trunkbaseddevelopment.com/
41•handfuloflight•3h ago•36 comments

Ggml.ai joins Hugging Face to ensure the long-term progress of Local AI

https://github.com/ggml-org/llama.cpp/discussions/19759
741•lairv•21h ago•181 comments

EU mandates replaceable batteries by 2027 (2023)

https://environment.ec.europa.eu/news/new-law-more-sustainable-circular-and-safe-batteries-enters...
91•cyrusmg•2h ago•53 comments

Wikipedia deprecates Archive.today, starts removing archive links

https://arstechnica.com/tech-policy/2026/02/wikipedia-bans-archive-today-after-site-executed-ddos...
454•nobody9999•16h ago•273 comments

CERN rebuilt the original browser from 1989 (2019)

https://worldwideweb.cern.ch
185•tylerdane•11h ago•65 comments

I Verified My LinkedIn Identity. Here's What I Handed Over

https://thelocalstack.eu/posts/linkedin-identity-verification-privacy/
47•ColinWright•3h ago•15 comments

Understanding Std:Shared_mutex from C++17

https://www.cppstories.com/2026/shared_mutex/
10•ibobev•3d ago•0 comments

LibreOffice blasts OnlyOffice for working with Microsoft to lock users in

https://www.neowin.net/news/libreoffice-blasts-fake-open-source-onlyoffice-for-working-with-micro...
44•XzetaU8•2h ago•20 comments

Coccinelle: The Linux kernel's source-to-source transformation tool

https://github.com/coccinelle/coccinelle
13•anon111332142•2h ago•0 comments

Lean 4: How the theorem prover works and why it's the new competitive edge in AI

https://venturebeat.com/ai/lean4-how-the-theorem-prover-works-and-why-its-the-new-competitive-edg...
37•tesserato•3d ago•20 comments

Gitas – A tool for Git account switching

https://github.com/letmutex/gitas
14•letmutex•4d ago•5 comments

The bare minimum for syncing Git repos

https://alexwlchan.net/2026/bare-git/
3•speckx•3d ago•0 comments

What Is OAuth?

https://leaflet.pub/p/did:plc:3vdrgzr2zybocs45yfhcr6ur/3mfd2oxx5v22b
128•cratermoon•9h ago•38 comments

Every company building your AI assistant is now an ad company

https://juno-labs.com/blogs/every-company-building-your-ai-assistant-is-an-ad-company
192•ajuhasz•16h ago•101 comments

Cord: Coordinating Trees of AI Agents

https://www.june.kim/cord
100•gfortaine•9h ago•43 comments

24 Hour Fitness won't let you unsubscribe from marketing spam, so I fixed it

https://ahmedkaddoura.com/projects/24hf-unsubscribe
50•daem•2h ago•12 comments

Index, Count, Offset, Size

https://tigerbeetle.com/blog/2026-02-16-index-count-offset-size/
89•ingve•3d ago•26 comments

Large Language Model Reasoning Failures

https://arxiv.org/abs/2602.06176
7•T-A•2h ago•2 comments

Blue light filters don't work – controlling total luminance is a better bet

https://www.neuroai.science/p/blue-light-filters-dont-work
171•pminimax•16h ago•183 comments

When etcd crashes, check your disks first

https://nubificus.co.uk/blog/etcd/
9•_ananos_•3h ago•3 comments

Show HN: Mines.fyi – all the mines in the US in a leaflet visualization

https://mines.fyi/
81•irasigman•13h ago•42 comments

The path to ubiquitous AI (17k tokens/sec)

https://taalas.com/the-path-to-ubiquitous-ai/
747•sidnarsipur•1d ago•414 comments

OpenScan

https://openscan.eu/pages/scan-gallery
161•joebig•14h ago•10 comments

Trump's global tariffs struck down by US Supreme Court

https://www.bbc.com/news/live/c0l9r67drg7t
1406•blackguardx•19h ago•1146 comments