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.

Cirrus Labs to join OpenAI

https://cirruslabs.org/
45•seekdeep•1h ago•15 comments

Filing the corners off my MacBooks

https://kentwalters.com/posts/corners/
1049•normanvalentine•16h ago•488 comments

Bitcoin miners are losing on every coin produced as difficulty drops

https://www.coindesk.com/markets/2026/03/22/bitcoin-miners-are-losing-usd19-000-on-every-btc-prod...
66•PaulHoule•1h ago•57 comments

Optimal Strategy for Connect 4

https://2swap.github.io/WeakC4/explanation/
134•marvinborner•2d ago•21 comments

Show HN: Pardonned.com – A searchable database of US Pardons

115•vidluther•8h ago•39 comments

Starfling: A one-tap endless orbital slingshot game in a single HTML file

https://playstarfling.com
321•iceberger2001•2d ago•87 comments

South Korea introduces universal basic mobile data access

https://www.theregister.com/2026/04/10/south_korea_data_access_universal/
28•saikatsg•1h ago•2 comments

Volunteers turn a fan's recordings of 10K concerts into an online treasure trove

https://apnews.com/article/aadam-jacobs-collection-concerts-internet-archive-chicago-b1c9c4466a2d...
183•geox•3d ago•27 comments

1D Chess

https://rowan441.github.io/1dchess/chess.html
883•burnt-resistor•22h ago•154 comments

Cooperative Vectors Introduction

https://www.evolvebenchmark.com/blog-posts/cooperative-vectors-introduction
6•JasperBekkers•1d ago•0 comments

How Much Linear Memory Access Is Enough?

https://solidean.com/blog/2026/how-much-linear-memory-access-is-enough/
13•PhilipTrettner•3d ago•1 comments

Installing every* Firefox extension

https://jack.cab/blog/every-firefox-extension
489•RohanAdwankar•16h ago•66 comments

How Passive Radar Works

https://www.passiveradar.com/how-passive-radar-works/
55•surprisetalk•2d ago•22 comments

Chimpanzees in Uganda locked in eight-year 'civil war', say researchers

https://www.bbc.com/news/articles/cr71lkzv49po
367•neversaydie•19h ago•220 comments

Artemis II safely splashes down

https://www.cbsnews.com/live-updates/artemis-ii-splashdown-return/
1042•areoform•14h ago•330 comments

AI assistance when contributing to the Linux kernel

https://github.com/torvalds/linux/blob/master/Documentation/process/coding-assistants.rst
392•hmokiguess•19h ago•280 comments

France's government is ditching Windows for Linux, says US tech a strategic risk

https://www.xda-developers.com/frances-government-ditching-windows-for-linux/
172•pabs3•6h ago•106 comments

WireGuard makes new Windows release following Microsoft signing resolution

https://lists.zx2c4.com/pipermail/wireguard/2026-April/009561.html
506•zx2c4•22h ago•148 comments

Industrial design files for Keychron keyboards and mice

https://github.com/Keychron/Keychron-Keyboards-Hardware-Design
406•stingraycharles•22h ago•127 comments

Productive Procrastination

https://www.maxvanijsselmuiden.nl/blog/productive-procrastination/
65•maxvij•9h ago•29 comments

CPU-Z and HWMonitor compromised

https://www.theregister.com/2026/04/10/cpuid_site_hijacked/
362•pashadee•1d ago•94 comments

Helium is hard to replace

https://www.construction-physics.com/p/helium-is-hard-to-replace
334•JumpCrisscross•23h ago•236 comments

Sybilproof reputation mechanisms (2005) [pdf]

https://dl.acm.org/doi/pdf/10.1145/1080192.1080202
18•perfmode•3d ago•0 comments

Bevy game development tutorials and in-depth resources

https://taintedcoders.com/
109•GenericCanadian•2d ago•24 comments

Polymarket gamblers betting millions on war

https://www.theguardian.com/business/2026/apr/11/polymarket-gamblers-betting-iran-war-ukraine-new...
86•sandebert•2h ago•37 comments

JSON formatter Chrome plugin now closed and injecting adware

https://github.com/callumlocke/json-formatter
240•jkl5xx•19h ago•123 comments

A practical guide for setting up Zettelkasten method in Obsidian

https://desktopcommander.app/blog/zettelkasten-obsidian/
78•rkrizanovskis•2d ago•44 comments

Italo Calvino: A traveller in a world of uncertainty

https://www.historytoday.com/archive/portrait-author-historian/italo-calvino-traveller-world-unce...
103•lermontov•14h ago•19 comments

20 years on AWS and never not my job

https://www.daemonology.net/blog/2026-04-11-20-years-on-AWS-and-never-not-my-job.html
207•cperciva•9h ago•48 comments

Quien – A better WHOIS lookup tool

https://github.com/retlehs/quien/
61•bretthopper•10h ago•22 comments