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•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.

Flash-Moe: Running a 397B Parameter Model on a Mac with 48GB RAM

https://github.com/danveloper/flash-moe
93•mft_•2h ago•31 comments

Bored of eating your own dogfood? Try smelling your own farts

https://shkspr.mobi/blog/2026/03/bored-of-eating-your-own-dogfood-try-smelling-your-own-farts/
10•ColinWright•19m ago•1 comments

Hormuz Minesweeper – Are you tired of winning?

https://hormuz.pythonic.ninja/
381•PythonicNinja•4h ago•206 comments

25 Years of Eggs

https://www.john-rush.com/posts/eggs-25-years-20260219.html
94•avyfain•3d ago•32 comments

More common mistakes to avoid when creating system architecture diagrams

https://www.ilograph.com/blog/posts/more-common-diagram-mistakes/
17•billyp-rva•1h ago•4 comments

Node.js worker threads are problematic, but they work great for us

https://www.inngest.com/blog/node-worker-threads
16•goodoldneon•3d ago•2 comments

A Case Against Currying

https://emi-h.com/articles/a-case-against-currying.html
3•emih•28m ago•0 comments

My first patch to the Linux kernel

https://pooladkhay.com/posts/first-kernel-patch/
146•pooladkhay•2d ago•22 comments

Tinybox – A powerful computer for deep learning

https://tinygrad.org/#tinybox
528•albelfio•17h ago•298 comments

The three pillars of JavaScript bloat

https://43081j.com/2026/03/three-pillars-of-javascript-bloat
374•onlyspaceghost•11h ago•215 comments

Some things just take time

https://lucumr.pocoo.org/2026/3/20/some-things-just-take-time/
755•vaylian•22h ago•240 comments

Project Nomad – Knowledge That Never Goes Offline

https://www.projectnomad.us
5•jensgk•1h ago•1 comments

A Review of Dice That Came with the White Castle

https://boardgamegeek.com/thread/3533812/a-review-of-dice-that-came-with-the-white-castle
8•doener•3d ago•1 comments

Brute-Forcing My Algorithmic Ignorance with an LLM in 7 Days

http://blog.dominikrudnik.pl/my-google-recruitment-journey-part-1
4•qikcik•1h ago•0 comments

$ teebot.dev – from terminal to tee in 6 seconds

https://teebot.dev
4•foxpress•1h ago•2 comments

Professional video editing, right in the browser with WebGPU and WASM

https://tooscut.app/
303•mohebifar•16h ago•109 comments

Chest Fridge (2009)

https://mtbest.net/chest-fridge/
136•wolfi1•12h ago•76 comments

How We Synchronized Editing for Rec Room's Multiplayer Scripting System

https://www.tyleo.com/blog/how-we-synchronized-editing-for-rec-rooms-multiplayer-scripting-system
4•tyleo•1h ago•4 comments

Windows native app development is a mess

https://domenic.me/windows-native-dev/
49•domenicd•3h ago•45 comments

'Miracle': Europe reconnects with lost spacecraft

https://phys.org/news/2026-03-miracle-europe-reconnects-lost-spacecraft.html
53•vrganj•3h ago•22 comments

Floci – A free, open-source local AWS emulator

https://github.com/hectorvent/floci
226•shaicoleman•15h ago•66 comments

HopTab–free,open source macOS app switcher and tiler that replaces Cmd+Tab

https://www.royalbhati.com/hoptab
57•robhati•7h ago•18 comments

Electronics for Kids, 2nd Edition

https://nostarch.com/electronics-for-kids-2e
217•0x54MUR41•3d ago•46 comments

Vatican Rebukes Peter Thiel's Antichrist Lectures in Rome

https://www.thenerdreich.com/peter-thiels-antichrist-circus-smacked-down-in-rome/
50•vrganj•3h ago•38 comments

Boomloom: Think with your hands

https://www.theboomloom.com
144•rasengan0•1d ago•15 comments

Bayesian statistics for confused data scientists

https://nchagnet.pages.dev/blog/bayesian-statistics-for-confused-data-scientists/
150•speckx•3d ago•41 comments

Show HN: Oku – One tab to filter out noise from feeds and content sources

https://oku.io
11•oan•2d ago•4 comments

Cross-Model Void Convergence: GPT-5.2 and Claude Opus 4.6 Deterministic Silence

https://zenodo.org/records/18976656
40•rayanpal_•6h ago•21 comments

It's Their Mona Lisa

https://ironicsans.ghost.io/its-t-mona-lisa/
50•ramimac•4d ago•15 comments

Hide macOS Tahoe's Menu Icons

https://512pixels.net/2026/03/hide-macos-tahoes-menu-icons-with-this-one-simple-trick/
241•soheilpro•19h ago•97 comments