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

Comments

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

Lessons from 14 Years at Google

https://addyosmani.com/blog/21-lessons/
851•cdrnsf•11h ago•384 comments

Show HN: Terminal UI for AWS

https://github.com/huseyinbabal/taws
190•huseyinbabal•6h ago•96 comments

Why does a least squares fit appear to have a bias when applied to simple data?

https://stats.stackexchange.com/questions/674129/why-does-a-linear-least-squares-fit-appear-to-ha...
136•azeemba•5h ago•31 comments

The Showa Hundred Year Problem

https://www.dampfkraft.com/showa-100.html
12•polm23•4d ago•1 comments

The Unbearable Joy of Sitting Alone in a Café

https://candost.blog/the-unbearable-joy-of-sitting-alone-in-a-cafe/
438•mooreds•11h ago•277 comments

Linear Address Spaces: Unsafe at any speed (2022)

https://queue.acm.org/detail.cfm?id=3534854
116•nithssh•4d ago•77 comments

Street Fighter II, the World Warrier (2021)

https://fabiensanglard.net/sf2_warrier/
312•birdculture•11h ago•51 comments

Millennium Challenge: A corrupted military exercise and its legacy (2015)

https://warontherocks.com/2015/11/millennium-challenge-the-real-story-of-a-corrupted-military-exe...
20•lifeisstillgood•2h ago•11 comments

Ripple, a puzzle game about 2nd and 3rd order effects

https://ripplegame.app/
79•mooreds•8h ago•14 comments

Eurostar AI vulnerability: When a chatbot goes off the rails

https://www.pentestpartners.com/security-blog/eurostar-ai-vulnerability-when-a-chatbot-goes-off-t...
94•speckx•5h ago•26 comments

Six Harmless Bugs Lead to Remote Code Execution

https://mehmetince.net/the-story-of-a-perfect-exploit-chain-six-bugs-that-looked-harmless-until-t...
24•ozirus•3d ago•1 comments

Server-rendered multiplayer games with Lua (no client code)

https://cleoselene.com/
59•brunovcosta•6h ago•34 comments

Show HN: An interactive guide to how browsers work

https://howbrowserswork.com/
175•krasun•11h ago•28 comments

Web development is fun again

https://ma.ttias.be/web-development-is-fun-again/
295•Mojah•11h ago•382 comments

Agentic Patterns

https://github.com/nibzard/awesome-agentic-patterns
74•PretzelFisch•6h ago•7 comments

The great shift of English prose

https://www.worksinprogress.news/p/english-prose-has-become-much-easier
32•dsubburam•4d ago•21 comments

The Year of the 3D Printed Miniature (and Other Lies We Tell Ourselves)

https://matduggan.com/the-year-of-the-3d-printed-miniature-and-other-lies-we-tell-ourselves/
99•sagacity•6d ago•63 comments

OpenGitOps

https://opengitops.dev/
38•locknitpicker•6h ago•36 comments

Show HN: Hover – IDE style hover documentation on any webpage

https://github.com/Sampsoon/hover
37•sampsonj•7h ago•16 comments

Claude Code On-the-Go

https://granda.org/en/2026/01/02/claude-code-on-the-go/
215•todsacerdoti•6h ago•146 comments

Moiré Explorer

https://play.ertdfgcvb.xyz/#/src/demos/moire_explorer
129•Luc•13h ago•17 comments

Using Hinge as a Command and Control Server

https://mattwie.se/hinge-command-control-c2
94•mattwiese•12h ago•42 comments

Show HN: An LLM-Powered PCB Schematic Checker (Major Update)

https://traceformer.io/
31•wafflesfreak•4h ago•15 comments

Trellis AI (YC W24) is hiring engineers to build AI agents for healthcare access

https://www.ycombinator.com/companies/trellis-ai/jobs/ngvfeaq-member-of-technical-staff-full-time
1•macklinkachorn•9h ago

Maybe comments should explain 'what' (2017)

https://www.hillelwayne.com/post/what-comments/
190•zahrevsky•15h ago•182 comments

FreeBSD Home NAS, part 3: WireGuard VPN, routing, and Linux peers

https://rtfm.co.ua/en/freebsd-home-nas-part-3-wireguard-vpn-linux-peer-and-routing/
145•todsacerdoti•14h ago•8 comments

Bison return to Illinois' Kane County after 200 years

https://phys.org/news/2025-12-bison-illinois-kane-county-years.html
118•bikenaga•5d ago•34 comments

Stop Forwarding Errors, Start Designing Them

https://fast.github.io/blog/stop-forwarding-errors-start-designing-them/
76•andylokandy•7h ago•46 comments

How I archived 10 years of memories using Spotify

https://notes.xdavidhu.me/notes/how-i-archived-10-years-of-memories-using-spotify
84•xdavidhu•11h ago•38 comments

Show HN: Quantum Tunnel

https://chuanqisun.github.io/quantum-tunnel/
17•osmoscraft•2h ago•6 comments