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.

Google Workspace CLI

https://github.com/googleworkspace/cli
244•gonzalovargas•3h ago•106 comments

MacBook Neo

https://www.apple.com/newsroom/2026/03/say-hello-to-macbook-neo/
1646•dm•14h ago•1946 comments

Building a new Flash

https://bill.newgrounds.com/news/post/1607118
403•TechPlasma•8h ago•115 comments

Dario Amodei calls OpenAI’s messaging around military deal ‘straight up lies’

https://techcrunch.com/2026/03/04/anthropic-ceo-dario-amodei-calls-openais-messaging-around-milit...
347•SilverElfin•4h ago•169 comments

Something is afoot in the land of Qwen

https://simonwillison.net/2026/Mar/4/qwen/
576•simonw•12h ago•259 comments

What Python's asyncio primitives get wrong about shared state

https://www.inngest.com/blog/no-lost-updates-python-asyncio
10•goodoldneon•1h ago•7 comments

Malm Whale

https://www.atlasobscura.com/places/malm-whale
13•thunderbong•4d ago•3 comments

Chaos and Dystopian news for the dead internet survivors

https://www.fubardaily.com
52•anonnona8878•2h ago•25 comments

NRC issues first commercial reactor construction approval in 10 years [pdf]

https://www.nrc.gov/sites/default/files/cdn/doc-collection-news/2026/26-028.pdf
66•Anon84•6h ago•32 comments

Moss is a pixel canvas where every brush is a tiny program

https://www.moss.town/
209•smusamashah•18h ago•25 comments

Humans 40k yrs ago developed a system of conventional signs

https://www.pnas.org/doi/10.1073/pnas.2520385123
81•bikenaga•12h ago•39 comments

Jensen Huang says Nvidia is pulling back from OpenAI and Anthropic

https://techcrunch.com/2026/03/04/jensen-huang-says-nvidia-is-pulling-back-from-openai-and-anthro...
42•jnord•1h ago•4 comments

The View from RSS

https://www.carolinecrampton.com/the-view-from-rss/
90•Curiositry•8h ago•25 comments

Picking Up a Zillion Pieces of Litter

https://www.sixstepstobetterhealth.com/litter.html
58•colinbartlett•3d ago•28 comments

NanoGPT Slowrun: Language Modeling with Limited Data, Infinite Compute

https://qlabs.sh/slowrun
136•sdpmas•10h ago•26 comments

“It turns out” (2010)

https://jsomers.net/blog/it-turns-out
256•Munksgaard•13h ago•82 comments

BMW Group to deploy humanoid robots in production in Germany for the first time

https://www.press.bmwgroup.com/global/article/detail/T0455864EN/bmw-group-to-deploy-humanoid-robo...
96•JeanKage•7h ago•79 comments

Was Windows 1.0's lack of overlapping windows a legal or a technical matter?

https://retrocomputing.stackexchange.com/questions/32511/was-windows-1-0s-lack-of-overlapping-win...
65•SeenNotHeard•8h ago•41 comments

Qwen3.5 Fine-Tuning Guide

https://unsloth.ai/docs/models/qwen3.5/fine-tune
301•bilsbie•16h ago•70 comments

An interactive map of Flock Cams

https://deflock.org/map#map=5/37.125286/-96.284180
540•anjel•9h ago•197 comments

A bit of fluid mechanics from scratch not from scratch

https://tsvibt.blogspot.com/2026/02/a-bit-of-fluid-mechanics-from-scratch.html
39•surprisetalk•2d ago•13 comments

Raspberry Pi Pico as AM Radio Transmitter

https://www.pesfandiar.com/blog/2026/02/28/pico-am-radio-transmitter
82•pesfandiar•4d ago•31 comments

Glaze by Raycast

https://www.glazeapp.com/
205•romac•15h ago•125 comments

US tech firms pledge at White House to bear costs of energy for datacenters

https://www.theguardian.com/us-news/2026/mar/04/us-tech-companies-energy-cost-pledge-white-house
42•geox•2h ago•34 comments

Libre Solar – Open Hardware for Renewable Energy

https://libre.solar
227•evolve2k•3d ago•63 comments

Daemon (2006)

https://en.wikipedia.org/wiki/Daemon_(novel)
31•solomonb•11h ago•8 comments

Roboflow (YC S20) Is Hiring a Security Engineer for AI Infra

https://roboflow.com/careers
1•yeldarb•10h ago

Show HN: A GFM+GF-MathJax/Latex HTML formatting adventure

https://github.com/scottvr/phart/blob/main/docs/GHM-LATEX.md
3•ycombiredd•4d ago•0 comments

MyFirst Kids Watch Hacked. Access to Camera and Microphone

https://www.kth.se/en/om/nyheter/centrala-nyheter/kth-studenten-hackade-klocka-for-barn-1.1461249
120•jidoka•15h ago•33 comments

Flip Distance of Convex Triangulations and Tree Rotation Is NP-Complete

https://arxiv.org/abs/2602.22874
21•nill0•4d ago•0 comments