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

Meta enables ADB on deprecated Portal devices [video]

https://fb.watch/HxPu0fSyeH/
117•jenders•3h ago•25 comments

Anthropic's open-source framework for AI-powered vulnerability discovery

https://github.com/anthropics/defending-code-reference-harness
316•binyu•7h ago•100 comments

Do transformers need three projections? Systematic study of QKV variants

https://arxiv.org/abs/2606.04032
121•Anon84•4h ago•20 comments

Open Code Review – An AI-powered code review CLI tool

https://github.com/alibaba/open-code-review
81•geoffbp•3h ago•19 comments

Azure Linux 4.0 is Microsoft's first general-purpose Linux

https://www.boxofcables.dev/azure-linux-4-0-is-microsofts-first-general-purpose-linux/
8•haydenbarnes•46m ago•0 comments

VoidZero Is Joining Cloudflare

https://blog.cloudflare.com/voidzero-joins-cloudflare/
590•coloneltcb•15h ago•262 comments

When AI Builds Itself: Our progress toward recursive self-improvement

https://www.anthropic.com/institute/recursive-self-improvement
377•meetpateltech•11h ago•491 comments

I'm skeptical about efforts to revolutionize schooling

https://www.scotthyoung.com/blog/2026/05/27/revolutionize-schooling/
93•andrewstuart•2d ago•160 comments

Branchless Quicksort faster than std:sort and pdqsort with C and C++ API

https://tiki.li/blog/blqsort
115•birdculture•2d ago•18 comments

Reverse-Engineered Userspace Driver for Asus ZenVision Lid OLED on Linux"

https://github.com/tarpediem/zenvision-linux
33•berlianta•2d ago•3 comments

Ian's Secure Shoelace Knot

https://www.fieggen.com/shoelace/secureknot.htm
531•mooreds•16h ago•203 comments

South Korean Forums Will Need to Scan Every Images with AI Censorship Tools

https://discuss.privacyguides.net/t/south-korean-online-communities-will-need-to-scan-every-image...
42•Cider9986•4h ago•21 comments

CEO to staff: You're not getting a raise. We're spending on AI instead

https://www.businessinsider.com/teradata-pauses-raises-employee-compensation-ai-budget-2026-6
23•ValentineC•1h ago•3 comments

The Causes of Long Covid

https://www.science.org/content/blog-post/causes-long-covid
18•maxall4•56m ago•4 comments

Queen bees emerge from special wax chambers

https://cen.acs.org/materials/biobased-materials/queen-bees-special-wax/104/web/2026/06
55•gmays•6h ago•8 comments

SpaceX, Other Mega IPOs Denied Fast Index Entry by S&P

https://www.bloomberg.com/news/articles/2026-06-04/s-p-dow-jones-keeps-megacap-ipo-rules-as-is-af...
199•tristanj•5h ago•94 comments

Samurai City

https://worksinprogress.co/issue/samurai-city/
122•zdw•2d ago•21 comments

KVarN: Native vLLM backend for KV-cache quantization by Huawei

https://github.com/huawei-csl/KVarN
120•theanonymousone•12h ago•12 comments

Retro-Tech Parenting

https://havenweb.org/2026/05/28/retro-tech.html
268•mawise•11h ago•181 comments

Go Experiments Explained

https://www.alexedwards.net/blog/go-experiments-explained
3•ingve•3d ago•0 comments

JLink JTAG Access on the Pinecil

https://danielmangum.com/posts/jlink-jtag-pinecil/
45•hasheddan•2d ago•8 comments

I made a kernel 2.2x faster. It made my training loop 3x slower

https://kyrieblunders.bearblog.dev/making-dr-grpo-go-brrr/
10•vishal-padia•2d ago•0 comments

Castor: CERN Advanced STORage Manager

https://castor.web.cern.ch/content/home.html
45•naves•8h ago•20 comments

Show HN: Uruky (EU-based Kagi alternative) now has Image Search and URL Rewrites

https://uruky.com/?il=en
217•BrunoBernardino•19h ago•197 comments

Show HN: Mercek – A Desktop IDE for AWS ECS

https://www.mercek.dev/
34•utibeumanah•6h ago•7 comments

Making Debian or Fedora persistent live images

https://sigwait.org/~alex/blog/2026/05/28/smdBC8.html
67•henry_flower•3d ago•7 comments

Zettascale (YC S24) Is Hiring Founding FPGA Engineers

https://www.ycombinator.com/companies/zettascale/jobs/O9S1vqO-founding-engineer-fpga-rtl-asic-arc...
1•el_al•11h ago

Latent Agents: A Post-Training Procedure for Internalized Multi-Agent Debate

https://arxiv.org/abs/2604.24881
18•PaulHoule•4h ago•0 comments

IPv6 zones in URLs are a mistake

https://xeiaso.net/notes/2026/ipv6-zones-go-url/
103•xena•6h ago•77 comments

RAG Without Persona Modeling Fails Patient Clinical Relevance

https://www.riddhimohan.com/blog/hppie-rag-without-persona-modeling-fails-patient-clinical-relevance
3•riddhimohan•2h ago•0 comments