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•10mo ago

Comments

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

Running Tesla Model 3's computer on my desk using parts from crashed cars

https://bugs.xdavidhu.me/tesla/2026/03/23/running-tesla-model-3s-computer-on-my-desk-using-parts-...
253•driesdep•3h ago•75 comments

ARC-AGI-3

https://arcprize.org/arc-agi/3
227•lairv•6h ago•155 comments

The EU still wants to scan your private messages and photos

https://fightchatcontrol.eu/?foo=bar
602•MrBruh•3h ago•182 comments

Earthquake scientists reveal how overplowing weakens soil at experimental farm

https://www.washington.edu/news/2026/03/19/earthquake-scientists-reveal-how-overplowing-weakens-s...
81•Brajeshwar•10h ago•32 comments

90% of Claude-linked output going to GitHub repos w <2 stars

https://www.claudescode.dev/?window=since_launch
156•louiereederson•6h ago•86 comments

My astrophotography in the movie Project Hail Mary

https://rpastro.square.site/s/stories/phm
670•wallflower•3d ago•180 comments

My DIY FPGA board can run Quake II

https://blog.mikhe.ch/quake2-on-fpga/part4.html
38•sznio•3d ago•10 comments

Apple randomly closes bug reports unless you "verify" the bug remains unfixed

https://lapcatsoftware.com/articles/2026/3/11.html
250•zdw•5h ago•136 comments

Supreme Court Sides with Cox in Copyright Fight over Pirated Music

https://www.nytimes.com/2026/03/25/us/politics/supreme-court-cox-music-copyright.html
252•oj2828•9h ago•223 comments

Quantization from the Ground Up

https://ngrok.com/blog/quantization
176•samwho•8h ago•35 comments

Ensu – Ente’s Local LLM app

https://ente.com/blog/ensu/
324•matthiaswh•11h ago•146 comments

Rendering complex scripts in terminal and OSC 66

https://thottingal.in/blog/2026/03/22/complex-scripts-in-terminal/
6•sthottingal•3d ago•1 comments

TurboQuant: Redefining AI efficiency with extreme compression

https://research.google/blog/turboquant-redefining-ai-efficiency-with-extreme-compression/
484•ray__•19h ago•129 comments

Show HN: Optio – Orchestrate AI coding agents in K8s to go from ticket to PR

https://github.com/jonwiggins/optio
12•jawiggins•7h ago•8 comments

Show HN: A plain-text cognitive architecture for Claude Code

https://lab.puga.com.br/cog/
7•marciopuga•55m ago•4 comments

Updates to GitHub Copilot interaction data usage policy

https://github.blog/news-insights/company-news/updates-to-github-copilot-interaction-data-usage-p...
210•prefork•5h ago•103 comments

FreeCAD v1.1

https://blog.freecad.org/2026/03/25/freecad-version-1-1-released/
147•sho_hn•5h ago•41 comments

Sodium-ion EV battery breakthrough delivers 11-min charging and 450 km range

https://electrek.co/2026/03/25/sodium-ion-ev-battery-delivers-11-min-charging-450-km-range/
98•breve•4h ago•53 comments

Thoughts on slowing the fuck down

https://mariozechner.at/posts/2026-03-25-thoughts-on-slowing-the-fuck-down/
628•jdkoeck•10h ago•315 comments

Miscellanea: The War in Iran

https://acoup.blog/2026/03/25/miscellanea-the-war-in-iran/
388•decimalenough•19h ago•553 comments

VitruvianOS – Desktop Linux Inspired by the BeOS

https://v-os.dev
325•felixding•21h ago•198 comments

Jury finds Meta liable in case over child sexual exploitation on its platforms

https://www.cnn.com/2026/03/24/tech/meta-new-mexico-trial-jury-deliberation
286•billfor•1d ago•434 comments

Health NZ staff told to stop using ChatGPT to write clinical notes

https://www.rnz.co.nz/news/national/590645/health-nz-staff-told-to-stop-using-chatgpt-to-write-cl...
64•billybuckwheat•3h ago•21 comments

Flighty Airports

https://flighty.com/airports
525•skogstokig•23h ago•174 comments

Antimatter has been transported for the first time

https://www.nature.com/articles/d41586-026-00950-w
323•leephillips•9h ago•157 comments

Show HN: I took back Video.js after 16 years and we rewrote it to be 88% smaller

https://videojs.org/blog/videojs-v10-beta-hello-world-again
616•Heff•1d ago•134 comments

Looking at Unity made me understand the point of C++ coroutines

https://mropert.github.io/2026/03/20/unity_cpp_coroutines/
162•ingve•4d ago•135 comments

Meta and YouTube found negligent in landmark social media addiction case

https://www.nytimes.com/2026/03/25/technology/social-media-trial-verdict.html
397•mrjaeger•6h ago•189 comments

Ball Pit

https://codepen.io/mrdoob_/full/NPRwLZd
133•memalign•5h ago•35 comments

Tracy Kidder has died

https://www.nytimes.com/2026/03/25/books/tracy-kidder-dead.html
214•ghc•7h ago•56 comments