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•1y ago

Comments

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

I'm Tired of Talking to AI

https://orchidfiles.com/im-tired-of-ai-generated-answers/
304•theorchid•1h ago•190 comments

Mini Micro Fantasy Computer

https://miniscript.org/MiniMicro/index.html#about
70•nicoloren•2h ago•24 comments

The Melancholy of Slaying Monsters

https://thereader.mitpress.mit.edu/the-strange-melancholy-of-slaying-monsters/
145•prismatic•16h ago•55 comments

Raft Consensus with a Minority of Nodes

https://padhye.org/raft-minority/
56•moarbugs•1d ago•5 comments

All of human cooking compressed into 2 megabytes

https://arxiv.org/abs/2605.22391
30•josefchen•4h ago•3 comments

BadHost – CVE-2026-48710: Starlette Host-Header Auth Bypass

https://badhost.org/
75•ylk•1d ago•29 comments

Cloudflare Flagship

https://developers.cloudflare.com/flagship/
252•tjek•12h ago•137 comments

That Methyl Methacrylate Tank

https://www.science.org/content/blog-post/methyl-methacrylate-tank
347•nooks•16h ago•139 comments

Claude Code as a Daily Driver: Claude.md, Skills, Subagents, Plugins, and MCPs

https://arps18.github.io/posts/claude-code-mastery/
113•arps18•7h ago•83 comments

The worst job interview I ever had

https://www.oliverio.dev/blog/the-worst-job-interview-i-had
393•oliverio•16h ago•299 comments

What Is a Direct Attach Copper (DAC) Cable

https://www.servethehome.com/what-is-a-direct-attach-copper-dac-cable/
24•teleforce•1d ago•8 comments

A few interesting modern pixel fonts

https://unsung.aresluna.org/a-few-interesting-modern-pixel-fonts/
372•zdw•1d ago•80 comments

Jensen Huang Just Told Every CEO Hiding Behind AI Layoffs to Shut Up

https://www.thestateofbrand.com/news/jensen-huang-ai-layoffs
8•cdrnsf•32m ago•4 comments

I built a Git-tracked book production pipeline

https://www.djspeckhals.com/posts/2026-05-22-how-i-bypassed-adobe-and-microsoft-to-build-a-git-tr...
252•dustin1114•4d ago•64 comments

Seeking a Language in Mathematics 1523-1571

https://tyndale.org/journals/reformj01/bmarsden.html
14•jruohonen•3d ago•1 comments

Show HN: Posthorn, self-hosted mail without the mail server

https://github.com/craigmccaskill/posthorn
43•craigmccaskill•7h ago•35 comments

We are Poles, so, of course, we print in Latin

https://www.ustc.ac.uk/news/we-are-poles-so-of-course-we-print-in-latin
27•danielam•2d ago•2 comments

Rosalind: A genomics toolkit in Rust running whole-genome pipelines on a laptop

https://github.com/logannye/rosalind
168•samuell•5d ago•45 comments

Launch HN: Minicor (YC P26) – Windows desktop automations at scale

https://www.minicor.com/
93•fchishtie•21h ago•56 comments

Spain blocks prediction markets Polymarket, Kalshi over lack of gambling licence

https://www.reuters.com/business/spain-blocks-prediction-markets-polymarket-kalshi-over-lack-gamb...
969•thm•23h ago•449 comments

A history of obituaries in American newspapers

https://blogs.loc.gov/headlinesandheroes/2026/05/mourn-not-a-history-of-obituaries-in-american-ne...
30•NaOH•2d ago•2 comments

A portentous reunion

https://bcantrill.dtrace.org/2026/05/25/a-portentous-reunion/
107•cafkafk•1d ago•30 comments

TSDuck: Open-source toolkit for MPEG-TS analysis and manipulation

https://tsduck.io/
42•phantomathkg•9h ago•3 comments

C array types are weird

https://anselmschueler.com/blogposts/2025-c-pointers/
97•signa11•2d ago•101 comments

IBM Confidential: System/360 File Organization [video]

https://www.youtube.com/watch?v=zokKqP0plrM
50•DaiPlusPlus•2d ago•22 comments

What I've Learned (So Far) Building Online Mini Games with Elixir and Swift

https://calvinflegal.com/2026/05/24/what-ive-learned-so-far-building-online-mini-games-with-elixi...
68•calflegal•3d ago•32 comments

Unicode 18.0.0 Beta

https://www.unicode.org/versions/Unicode18.0.0/
33•birdculture•4h ago•39 comments

Nvidia Vera CPU Benchmarks: Olympus Cores Delivering Great Performance

https://www.phoronix.com/review/nvidia-vera-benchmarks
39•naves•4h ago•15 comments

Tunecat: Simple Internet Radio

https://codeberg.org/lindenii/tunecat/
55•croottree•11h ago•5 comments

Sage Care (YC S24) Is Hiring Software Engineers

https://www.ycombinator.com/companies/sagecare/jobs/xtloH8r-senior-software-engineer
1•ian-gillis•19h ago