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

Comments

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

GameStop makes $55.5B takeover offer for eBay

https://www.bbc.co.uk/news/articles/cn0p8yled1do
223•n1b0m•3h ago•163 comments

ASML's Best Selling Product Isn't What You Think It Is

https://www.siliconimist.com/p/asmls-best-selling-product
67•johncole•1h ago•25 comments

Trademark violation: Fake Notepad++ for Mac

https://notepad-plus-plus.org/news/npp-trademark-infringement/
263•maxloh•3h ago•104 comments

Talking to 35 Strangers at the Gym

https://thienantran.com/talking-to-35-strangers-at-the-gym/
27•thitran•1h ago•2 comments

Using “underdrawings” for accurate text and numbers

https://samcollins.blog/underdrawings/
282•samcollins•2d ago•92 comments

Texico: Learn the principles of programming without even touching a computer

https://www3.nhk.or.jp/nhkworld/en/shows/texico/
82•o4c•2d ago•4 comments

World's biggest RC A380 [video]

https://www.youtube.com/watch?v=wr9YLGbhxng
38•NaOH•1d ago•7 comments

BYOMesh – New LoRa mesh radio offers 100x the bandwidth

https://partyon.xyz/@nullagent/116499715071759135
404•nullagent•18h ago•131 comments

DeepClaude – Claude Code agent loop with DeepSeek V4 Pro

https://github.com/aattaran/deepclaude
526•alattaran•14h ago•216 comments

Discovering hard disk physical geometry through microbenchmarking (2019)

https://blog.stuffedcow.net/2019/09/hard-disk-geometry-microbenchmarking/
112•TapamN•3d ago•5 comments

The Road to a Billion-Token Context

https://cacm.acm.org/news/the-road-to-a-billion-token-context/
25•pseudolus•2d ago•30 comments

A treasure trove of fossils rewrites the story of early life

https://www.quantamagazine.org/a-treasure-trove-of-cambrian-fossils-rewrites-the-story-of-early-l...
49•worldvoyageur•2d ago•8 comments

Why are neural networks and cryptographic ciphers so similar? (2025)

https://reiner.org/neural-net-ciphers
17•jxmorris12•2d ago•3 comments

Southwest Headquarters Tour

https://katherinemichel.github.io/blog/travel/southwest-headquarters-tour-2026.html
271•KatiMichel•19h ago•82 comments

Let's Buy Spirit Air

https://letsbuyspiritair.com/
404•bjhess•13h ago•368 comments

US–Indian space mission maps extreme subsidence in Mexico City

https://phys.org/news/2026-04-usindian-space-mission-extreme-subsidence.html
167•leopoldj•2d ago•65 comments

The 'Hidden' Costs of Great Abstractions

https://jdgr.net/the-hidden-costs-of-great-abstractions
187•jdgr•13h ago•87 comments

Fun with polynomials and linear algebra; or, slight abstract nonsense

https://guille.site/posts/abstract-nonsense/
26•LolWolf•2d ago•0 comments

A desktop made for one

https://isene.org/2026/05/Audience-of-One.html
373•xngbuilds•21h ago•203 comments

OpenAI’s o1 correctly diagnosed 67% of ER patients vs. 50-55% by triage doctors

https://www.theguardian.com/technology/2026/apr/30/ai-outperforms-doctors-in-harvard-trial-of-eme...
421•donsupreme•1d ago•370 comments

Bad Connection: Global telecom exploitation by covert surveillance actors

https://citizenlab.ca/research/uncovering-global-telecom-exploitation-by-covert-surveillance-actors/
165•miohtama•20h ago•14 comments

Introduction to Atom

https://validator.w3.org/feed/docs/atom.html
107•susam•14h ago•43 comments

K3sup – bootstrap K3s over SSH in < 60s

https://github.com/alexellis/k3sup
66•rickcarlino•2d ago•29 comments

Tar Files Created on macOS Display Errors When Extracting on Linux (2024)

https://aruljohn.com/blog/macos-created-tar-files-linux-errors/
118•heresie-dabord•4d ago•81 comments

Over 8M Thermos jars and bottles recalled after 3 people lost vision

https://www.goodmorningamerica.com/living/story/8-million-thermos-jars-bottles-recalled-after-3-1...
79•taubek•4h ago•59 comments

Humanoid Robot Actuators

https://www.firgelli.com/pages/humanoid-robot-actuators
146•ofrzeta•9h ago•70 comments

New statue in London, attributed to Banksy, of a suited man, blinded by a flag

https://www.smithsonianmag.com/smart-news/attributed-to-banksy-a-new-statue-of-a-suited-man-blind...
443•dryadin•17h ago•417 comments

Mercedes-Benz commits to bringing back physical buttons

https://www.drive.com.au/news/mercedes-benz-commits-to-bringing-back-phycial-buttons/
745•teleforce•21h ago•423 comments

Text-to-CAD

https://github.com/earthtojake/text-to-cad
131•softservo•3d ago•35 comments

I recreated the Apple Lisa computer inside an FPGA [video]

https://www.youtube.com/watch?v=8jNQDcpHc68
108•cyrc•18h ago•28 comments