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.

VoidZero Is Joining Cloudflare

https://blog.cloudflare.com/voidzero-joins-cloudflare/
412•coloneltcb•5h ago•201 comments

Retro-Tech Parenting

https://havenweb.org/2026/05/28/retro-tech.html
75•mawise•2h ago•28 comments

The desperation of NYTimes

https://rozumem.xyz/posts/16
116•rozumem•50m ago•88 comments

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

https://github.com/huawei-csl/KVarN
67•theanonymousone•3h ago•7 comments

Fear and Social Pressure Are 'Overarming' the U.S.

https://home.dartmouth.edu/news/2026/06/how-fear-and-social-pressure-are-overarming-us
15•achristmascarl•42m ago•7 comments

Ian's Secure Shoelace Knot

https://www.fieggen.com/shoelace/secureknot.htm
329•mooreds•7h ago•133 comments

They’re made out of weights

https://maxleiter.com/blog/weights
1219•MaxLeiter•18h ago•538 comments

Sum-product, unit distances, and number fields

https://www.erdosproblems.com/forum/thread/blog:6
20•robinhouston•3d ago•0 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•1h ago

Failing grades soar with AI usage, dwindling math skills in Berkeley CS classes

https://www.dailycal.org/news/campus/academics/failing-grades-soar-as-professors-see-greater-ai-u...
609•littlexsparkee•18h ago•584 comments

U.S. Army Corps of Engineers Bay Model

https://en.wikipedia.org/wiki/U.S._Army_Corps_of_Engineers_Bay_Model
161•tosh•2d ago•43 comments

12,060 piece, $799.99, Sagrada Família is the largest Lego building set to date

https://www.lego.com/en-us/product/sagrada-familia-21065
71•speckx•2h ago•56 comments

Gaussian Point Splatting

https://momentsingraphics.de/Siggraph2026.html
145•ibobev•7h ago•53 comments

3D-printed book turns its own G-code into raised lettering

https://www.designboom.com/design/3d-printed-book-manual-darius-ou-benson-chong/
41•surprisetalk•2d ago•21 comments

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

https://uruky.com/?il=en
157•BrunoBernardino•9h ago•154 comments

Elixir v1.20: Now a gradually typed language

https://elixir-lang.org/blog/2026/06/03/elixir-v1-20-0-released/
922•cloud8421•23h ago•367 comments

Show HN: Boxes.dev: ditch localhost; run Claude Code and Codex in the cloud

https://boxes.dev
67•nab•3h ago•37 comments

Gemma 4 12B: A unified, encoder-free multimodal model

https://blog.google/innovation-and-ai/technology/developers-tools/introducing-gemma-4-12b/
978•rvz•1d ago•366 comments

Show HN: Prela – Purely Algebraic Relation Combinators

https://github.com/remysucre/prela
45•remywang•3d ago•12 comments

In a first, wind and solar generated more power than gas globally in April 2026

https://electrek.co/2026/05/20/in-a-first-wind-solar-generated-more-power-than-gas-globally-april...
248•speckx•3h ago•227 comments

French-Iranian author Marjane Satrapi, author of 'Persepolis', dies at 56

https://www.france24.com/en/culture/20260604-french-iranian-author-marjane-satrapi-author-of-pers...
333•fidotron•6h ago•101 comments

Kiki – a tiny homepage construction kit with a small footprint

https://tomotama.com/kiki
98•tobr•3d ago•58 comments

I built a vulnerable app and spent $1,500 seeing if LLMs could hack it

https://kasra.blog/blog/i-spent-1500-seeing-if-llms-could-hack-my-app/
348•jc4p•17h ago•184 comments

Artificial intelligence is not conscious – Ted Chiang

https://www.theatlantic.com/philosophy/2026/06/no-artificial-intelligence-is-not-conscious/687378/
663•lordleft•1d ago•1141 comments

Making Debian or Fedora persistent live images

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

Under Notre Dame, a 'dig of the century' unearths 1,700 years of history

https://apnews.com/article/notre-dame-dig-treasures-paris-archaeology-roman-dae41f792c1402faf32a8...
145•cobbzilla•2d ago•33 comments

Ask HN: So what happened to Facebook "localhost" tracking?

45•juliusceasar•5h ago•57 comments

The ways we contain Claude across products

https://www.anthropic.com/engineering/how-we-contain-claude
204•jbredeche•18h ago•86 comments

I was recently diagnosed with anti-NMDA receptor encephalitis

https://burntsushi.net/encephalitis/
715•Tomte•1d ago•232 comments

Uber's $1,500/month AI limit is a useful signal for AI tool pricing

https://simonwillison.net/2026/Jun/3/uber-caps-usage/
584•pdyc•1d ago•714 comments