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

Show HN: s@: decentralized social networking over static sites

http://satproto.org/
91•remywang•3h ago•29 comments

Temporal: The 9-year journey to fix time in JavaScript

https://bloomberg.github.io/js-blog/post/temporal/
563•robpalmer•12h ago•184 comments

Many SWE-bench-Passing PRs would not be merged

https://metr.org/notes/2026-03-10-many-swe-bench-passing-prs-would-not-be-merged-into-main/
171•mustaphah•6h ago•58 comments

Tested: How Many Times Can a DVD±RW Be Rewritten? Methodology and Results

https://goughlui.com/2026/03/07/tested-how-many-times-can-a-dvd%C2%B1rw-be-rewritten-part-2-metho...
65•giuliomagnifico•3d ago•4 comments

Making WebAssembly a first-class language on the Web

https://hacks.mozilla.org/2026/02/making-webassembly-a-first-class-language-on-the-web/
440•mikece•23h ago•157 comments

Don't post generated/AI-edited comments. HN is for conversation between humans

https://news.ycombinator.com/newsguidelines.html#generated
2999•usefulposter•8h ago•1123 comments

DHS Contracts Explorer – Hacked data from the Office of Industry Partnership

https://micahflee.github.io/ice-contracts/
186•peq42•1h ago•37 comments

I was interviewed by an AI bot for a job

https://www.theverge.com/featured-video/892850/i-was-interviewed-by-an-ai-bot-for-a-job
190•speckx•9h ago•196 comments

Show HN: A context-aware permission guard for Claude Code

https://github.com/manuelschipper/nah/
54•schipperai•4h ago•31 comments

About memory pressure, lock contention, and Data-oriented Design

https://mnt.io/articles/about-memory-pressure-lock-contention-and-data-oriented-design/
13•vinhnx•3d ago•0 comments

Google closes deal to acquire Wiz

https://www.wiz.io/blog/google-closes-deal-to-acquire-wiz
250•aldarisbm•12h ago•159 comments

Show HN: I built a tool that watches webpages and exposes changes as RSS

https://sitespy.app
192•vkuprin•11h ago•48 comments

The MacBook Neo

https://daringfireball.net/2026/03/the_macbook_neo
443•etothet•16h ago•736 comments

Challenging the Single-Responsibility Principle

https://kiss-and-solid.com/blog/keep-it-simple
10•WolfOliver•3d ago•6 comments

BitNet: 100B Param 1-Bit model for local CPUs

https://github.com/microsoft/BitNet
317•redm•15h ago•157 comments

CNN Explainer – Learn Convolutional Neural Network in Your Browser (2020)

https://poloclub.github.io/cnn-explainer/
37•vismit2000•3d ago•2 comments

Show HN: Autoresearch@home

https://www.ensue-network.ai/autoresearch
49•austinbaggio•4h ago•10 comments

Entities enabling scientific fraud at scale (2025)

https://doi.org/10.1073/pnas.2420092122
265•peyton•14h ago•189 comments

5,200 holes carved into a Peruvian mountain left by an ancient economy

https://newatlas.com/environment/5-200-holes-peruvian-mountain/
108•defrost•1d ago•53 comments

Meticulous (YC S21) is hiring to redefine software dev

https://jobs.ashbyhq.com/meticulous/3197ae3d-bb26-4750-9ed7-b830f640515e
1•Gabriel_h•6h ago

Show HN: Klaus – OpenClaw on a VM, batteries included

https://klausai.com/
130•robthompson2018•11h ago•69 comments

How much of HN is AI?

https://lcamtuf.substack.com/p/how-much-of-hn-is-ai
72•surprisetalk•2h ago•35 comments

Britain is ejecting hereditary nobles from Parliament after 700 years

https://apnews.com/article/uk-house-of-lords-hereditary-peers-expelled-535df8781dd01e8970acda1dca...
198•divbzero•6h ago•194 comments

Atlassian to cut roughly 1,600 jobs in pivot to AI

https://www.reuters.com/technology/atlassian-lay-off-about-1600-people-pivot-ai-2026-03-11/
146•jp0d•5h ago•195 comments

Urea prices

https://tradingeconomics.com/commodity/urea
66•burnt-resistor•1h ago•46 comments

Swiss e-voting pilot can't count 2,048 ballots after decryption failure

https://www.theregister.com/2026/03/11/swiss_evote_usb_snafu/
171•jjgreen•14h ago•373 comments

Apple releases iOS 15.8.7 to fix Coruna exploit for iPhone 6S from 2015

https://support.apple.com/en-us/126632
74•seam_carver•2h ago•28 comments

Against vibes: When is a generative model useful

https://www.williamjbowman.com/blog/2026/03/05/against-vibes-when-is-a-generative-model-useful/
57•takira•1d ago•8 comments

Preliminary data from a longitudinal AI impact study

https://newsletter.getdx.com/p/ai-productivity-gains-are-10-not
36•donutshop•6h ago•27 comments

Personal Computer by Perplexity

https://www.perplexity.ai/personal-computer-waitlist
130•josephwegner•9h ago•108 comments