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.

What Not to Write on Your Security Clearance Form

https://milk.com/wall-o-shame/security_clearance.html
79•wizardforhire•37m ago•9 comments

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

https://thelocalstack.eu/posts/linkedin-identity-verification-privacy/
734•ColinWright•10h ago•270 comments

How far back in time can you understand English?

https://www.deadlanguagesociety.com/p/how-far-back-in-time-understand-english
84•spzb•3d ago•37 comments

Keep Android Open

https://f-droid.org/2026/02/20/twif.html
1860•LorenDB•23h ago•636 comments

The Nekonomicon – Nekochan.net Archive, Updated

http://nekonomicon.irixnet.org/
12•ThatGuyRaion•1h ago•2 comments

macOS's Little-Known Command-Line Sandboxing Tool (2025)

https://igorstechnoclub.com/sandbox-exec/
127•Igor_Wiwi•3h ago•44 comments

AI uBlock Blacklist

https://github.com/alvi-se/ai-ublock-blacklist
123•rdmuser•9h ago•53 comments

I found a Vulnerability. They found a Lawyer

https://dixken.de/blog/i-found-a-vulnerability-they-found-a-lawyer
789•toomuchtodo•22h ago•360 comments

Turn Dependabot off

https://words.filippo.io/dependabot/
579•todsacerdoti•20h ago•169 comments

Facebook is cooked

https://pilk.website/3/facebook-is-absolutely-cooked
1343•npilk•23h ago•731 comments

Show HN: Iron-Wolf – Wolfenstein 3D source port in Rust

https://github.com/Ragnaroek/iron-wolf
5•ragnaroekX•1h ago•3 comments

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

https://github.com/ggml-org/llama.cpp/discussions/19759
787•lairv•1d ago•209 comments

Wikipedia deprecates Archive.today, starts removing archive links

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

Andrej Karpathy talks about "Claws"

https://simonwillison.net/2026/Feb/21/claws/
252•helloplanets•7h ago•409 comments

Padlet (YC W13) Is Hiring in San Francisco and Singapore

https://padlet.jobs
1•coffeebite•5h ago

CXMT has been offering DDR4 chips at about half the prevailing market rate

https://www.koreaherald.com/article/10679206
60•phront•3h ago•25 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...
111•tesserato•4d ago•45 comments

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

https://github.com/coccinelle/coccinelle
60•anon111332142•9h ago•17 comments

CERN rebuilt the original browser from 1989 (2019)

https://worldwideweb.cern.ch
228•tylerdane•18h ago•80 comments

The bare minimum for syncing Git repos

https://alexwlchan.net/2026/bare-git/
37•speckx•4d ago•24 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
264•ajuhasz•22h ago•141 comments

What Is OAuth?

https://leaflet.pub/p/did:plc:3vdrgzr2zybocs45yfhcr6ur/3mfd2oxx5v22b
177•cratermoon•16h ago•68 comments

Approaches to writing two-sentence journal entries

https://alexanderbjoy.com/two-sentence-journal-approaches/
60•fi-le•3d ago•5 comments

Index, Count, Offset, Size

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

Understanding Std:Shared_mutex from C++17

https://www.cppstories.com/2026/shared_mutex/
35•ibobev•4d ago•19 comments

JWasm: Masm Compatible Assembler

https://github.com/Baron-von-Riedesel/JWasm
17•doener•4d ago•1 comments

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

https://www.neuroai.science/p/blue-light-filters-dont-work
210•pminimax•23h ago•206 comments

Gitas – A tool for Git account switching

https://github.com/letmutex/gitas
47•letmutex•4d ago•39 comments

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

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

OpenScan

https://openscan.eu/pages/scan-gallery
203•joebig•20h ago•20 comments