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.

Plasma Bigscreen – 10-foot interface for KDE plasma

https://plasma-bigscreen.org
227•PaulHoule•4h ago•74 comments

UUID package coming to Go standard library

https://github.com/golang/go/issues/62026
52•soypat•2h ago•12 comments

Can a wealthy family change the course of a deadly brain disease?

https://www.science.org/content/article/can-wealthy-family-change-course-deadly-brain-disease
15•Snoozus•1h ago•1 comments

this css proves me human

https://will-keleher.com/posts/this-css-makes-me-human/
188•todsacerdoti•6h ago•66 comments

LLMs work best when the user defines their acceptance criteria first

https://blog.katanaquant.com/p/your-llm-doesnt-write-correct-code
99•dnw•3h ago•80 comments

Maybe There's a Pattern Here?

https://dynomight.net/pattern/
37•surprisetalk•2d ago•11 comments

C# strings silently kill your SQL Server indexes in Dapper

https://consultwithgriff.com/dapper-nvarchar-implicit-conversion-performance-trap
73•PretzelFisch•5h ago•44 comments

Galileo's handwritten notes found in ancient astronomy text

https://www.science.org/content/article/galileo-s-handwritten-notes-found-ancient-astronomy-text
63•tzury•1d ago•8 comments

Hardening Firefox with Anthropic's Red Team

https://www.anthropic.com/news/mozilla-firefox-security
520•todsacerdoti•16h ago•148 comments

Tell HN: I'm 60 years old. Claude Code has ignited a passion again

215•shannoncc•4h ago•126 comments

Show HN: Moongate – Ultima Online server emulator in .NET 10 with Lua scripting

https://github.com/moongate-community/moongatev2
236•squidleon•13h ago•134 comments

The Shady World of IP Leasing

https://acid.vegas/blog/the-shady-world-of-ip-leasing/
76•alibarber•7h ago•47 comments

Tech employment now significantly worse than the 2008 or 2020 recessions

https://twitter.com/JosephPolitano/status/2029916364664611242
792•enraged_camel•10h ago•535 comments

Show HN: 1v1 coding game that LLMs struggle with

https://yare.io
11•levmiseri•21h ago•5 comments

Launch HN: Palus Finance (YC W26): Better yields on idle cash for startups, SMBs

41•sam_palus•9h ago•68 comments

Show HN: Kula – Lightweight, self-contained Linux server monitoring tool

https://github.com/c0m4r/kula
18•c0m4r•4h ago•18 comments

CT Scans of Health Wearables

https://www.lumafield.com/scan-of-the-month/health-wearables
192•radeeyate•14h ago•41 comments

Querying 3B Vectors

https://vickiboykis.com/2026/02/21/querying-3-billion-vectors/
3•surprisetalk•3d ago•0 comments

What canceled my Go context?

https://rednafi.com/go/context-cancellation-cause/
22•mweibel•2d ago•13 comments

A Modular Robot Dashboard

https://github.com/transitiverobotics/transact
6•chfritz•1d ago•0 comments

Entomologists use a particle accelerator to image ants at scale

https://spectrum.ieee.org/3d-scanning-particle-accelerator-antscan
106•gmays•12h ago•20 comments

Ada 2022

https://www.adaic.org/ada-resources/standards/ada22/
116•tosh•8h ago•23 comments

A tool that removes censorship from open-weight LLMs

https://github.com/elder-plinius/OBLITERATUS
137•mvdwoord•13h ago•62 comments

Game about Data of America

https://americaindata.com/
5•fidicen•3h ago•0 comments

Workers who love ‘synergizing paradigms’ might be bad at their jobs

https://news.cornell.edu/stories/2026/03/workers-who-love-synergizing-paradigms-might-be-bad-thei...
525•Anon84•14h ago•300 comments

Good Bad ISPs

https://community.torproject.org/relay/community-resources/good-bad-isps/
112•rzk•13h ago•38 comments

Analytic Fog Rendering with Volumetric Primitives (2025)

https://matejlou.blog/2025/02/11/analytic-fog-rendering-with-volumetric-primitives/
87•surprisetalk•1d ago•8 comments

Multifactor (YC F25) Is Hiring an Engineering Lead

https://www.ycombinator.com/companies/multifactor/jobs/lcpd60A-engineering-lead
1•multifactor•11h ago

Art Bits from HyperCard

https://archives.somnolescent.net/web/mari_v2/junk/hypercard/
69•TigerUniversity•6h ago•15 comments

Astra: An open-source observatory control software

https://github.com/ppp-one/astra
86•pppone•12h ago•21 comments