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 Safe Browsing missed 84% of phishing sites we found in February

https://www.norn-labs.com/blog/huginn-report-feb-2026
41•jdup7•58m ago•12 comments

Judge Orders Government to Begin Refunding More Than $130B in Tariffs

https://www.wsj.com/politics/policy/judge-orders-government-to-begin-refunding-more-than-130-bill...
410•JumpCrisscross•1h ago•315 comments

Show HN: Jido 2.0, Elixir Agent Framework

https://jido.run/blog/jido-2-0-is-here
16•mikehostetler•13m ago•1 comments

Nvidia PersonaPlex 7B on Apple Silicon: Full-Duplex Speech-to-Speech in Swift

https://blog.ivan.digital/nvidia-personaplex-7b-on-apple-silicon-full-duplex-speech-to-speech-in-...
257•ipotapov•8h ago•83 comments

Fast-Servers

https://geocar.sdf1.org/fast-servers.html
20•tosh•1h ago•7 comments

Google Workspace CLI

https://github.com/googleworkspace/cli
769•gonzalovargas•15h ago•257 comments

Good software knows when to stop

https://ogirardot.writizzy.com/p/good-software-knows-when-to-stop
29•ssaboum•2h ago•17 comments

Palantir and other tech companies are stocking offices with tobacco products

https://fortune.com/2026/03/04/palantir-tech-companies-offices-vending-machines-tobacco-worker-pr...
45•donutshop•45m ago•36 comments

Relicensing with AI-Assisted Rewrite

https://tuananh.net/2026/03/05/relicensing-with-ai-assisted-rewrite/
280•tuananh•10h ago•273 comments

The L in "LLM" Stands for Lying

https://acko.net/blog/the-l-in-llm-stands-for-lying/
482•LorenDB•11h ago•307 comments

World-first gigabit laser link between aircraft and geostationary satellite

https://www.esa.int/Applications/Connectivity_and_Secure_Communications/World-first_gigabit-per-s...
80•giuliomagnifico•3d ago•32 comments

Poor Man's Polaroid

https://boxart.lt/blog/poor_mans_polaroid
117•ZacnyLos•8h ago•39 comments

Rising carbon dioxide levels now detected in human blood

https://phys.org/news/2026-02-carbon-dioxide-human-blood.html
72•wkrsz•1h ago•63 comments

Intelligence is a commodity. Context is the real AI Moat

https://adlrocha.substack.com/p/adlrocha-intelligence-is-a-commodity
33•adlrocha•4d ago•2 comments

Smalltalk's Browser: Unbeatable, yet Not Enough

https://blog.lorenzano.eu/smalltalks-browser-unbeatable-yet-not-enough/
90•mpweiher•8h ago•34 comments

AMD will bring its “Ryzen AI” processors to standard desktop PCs for first time

https://arstechnica.com/gadgets/2026/03/amd-ryzen-ai-400-cpus-will-bring-upgraded-graphics-to-soc...
157•Bender•3d ago•141 comments

The Man Who Broke into Jail

https://www.newyorker.com/magazine/2026/03/09/alexander-friedmann-profile-prison-reform
20•fortran77•1d ago•6 comments

Building a new Flash

https://bill.newgrounds.com/news/post/1607118
633•TechPlasma•19h ago•208 comments

Billy bookshelves as a retro motherboard "rack"

https://rubenerd.com/billy-bookcase-as-a-retro-motherboard-rack/
37•ingve•4d ago•30 comments

Jails for NetBSD – Kernel Enforced Isolation and Native Resource Control

https://netbsd-jails.petermann-digital.de/
65•vermaden•8h ago•16 comments

Arabic document from 17th-cent. rubbish heap confirms semi-legendary Nubian king

https://phys.org/news/2026-02-arabic-document-17th-century-rubbish.html
95•wglb•2d ago•30 comments

OpenBSD on SGI: A Rollercoaster Story

http://miod.online.fr/software/openbsd/stories/sgiall.html
59•brynet•9h ago•2 comments

Something is afoot in the land of Qwen

https://simonwillison.net/2026/Mar/4/qwen/
741•simonw•1d ago•319 comments

No right to relicense this project

https://github.com/chardet/chardet/issues/327
367•robin_reala•7h ago•238 comments

MacBook Neo

https://www.apple.com/newsroom/2026/03/say-hello-to-macbook-neo/
1867•dm•1d ago•2168 comments

Earth Garden: Field Recordings Around the World

https://earth-garden.alen.ro/
33•alentodorov•1d ago•10 comments

BBC says 'irreversible' trends mean it will not survive without major overhaul

https://www.theguardian.com/media/2026/mar/05/bbc-charter-renewal-tv-licence-major-overhaul
10•beardyw•41m ago•5 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...
188•JeanKage•18h ago•206 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
132•geox•14h ago•152 comments

Picking Up a Zillion Pieces of Litter

https://www.sixstepstobetterhealth.com/litter.html
179•colinbartlett•3d ago•63 comments