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.

Total monthly number of StackOverflow questions over time

https://data.stackexchange.com/stackoverflow/query/1926661#graph
860•maartin0•7h ago•452 comments

Neural Networks: Zero to Hero

https://karpathy.ai/zero-to-hero.html
17•suioir•55m ago•1 comments

The suck is why we're here

https://nik.art/the-suck-is-why-were-here/
197•herbertl•6h ago•86 comments

MyTorch – Minimalist autograd in 450 lines of Python

https://github.com/obround/mytorch
54•iguana2000•4h ago•6 comments

The Most Popular Blogs of Hacker News in 2025

https://refactoringenglish.com/blog/2025-hn-top-5/
499•mtlynch•13h ago•98 comments

How Thomas Mann Wrote the Magic Mountain

https://www.theguardian.com/books/2025/dec/31/the-master-of-contradictions-by-morten-hi-jensen-re...
30•Caiero•3h ago•0 comments

KDE onboarding is good now

https://rabbitictranslator.com/kde-onboarding/
64•todsacerdoti•5h ago•22 comments

Swift on Android: Full Native App Development Now Possible

https://docs.swifdroid.com/app/
149•mihael•6h ago•90 comments

Odoo: Open-Source ERP

https://github.com/odoo/odoo
14•stein1946•4d ago•2 comments

Ed25519-CLI – command-line interface for the Ed25519 signature system

https://lib25519.cr.yp.to/ed25519-cli.html
75•INGELRII•6d ago•26 comments

The Late Arrival of 16-Bit CP/M – By Nemanja Trifunovic

https://nemanjatrifunovic.substack.com/p/the-late-arrival-of-16-bit-cpm
28•rbanffy•5d ago•1 comments

Corroded: Illegal Rust

https://github.com/buyukakyuz/corroded
44•csmantle•5h ago•7 comments

Finger-Nose Stylus for Touch Screens

https://variationsonnormal.com/2011/04/28/finger-nose-stylus-for-touchscreens/
18•downboots•5d ago•8 comments

Developing a BLAS Library for the AMD AI Engine [pdf]

https://uni.tlaan.nl/thesis/msc_thesis_tristan_laan_aieblas.pdf
25•teleforce•4h ago•7 comments

Scaling Latent Reasoning via Looped Language Models

https://arxiv.org/abs/2510.25741
57•remexre•8h ago•11 comments

Show HN: Krowdovi – Video-based indoor navigation on a DePIN creator economy

https://github.com/daftpixie/krowdovi
3•24hrmvp•1h ago•2 comments

The C3 Programming Language

https://c3-lang.org
316•y1n0•13h ago•196 comments

Take One Small Step

https://thinkhuman.com/take-one-small-step/
68•jamesgill•7h ago•15 comments

The Riven Diffs – Seeing Riven (1997) Differently

https://glthr.com/the-riven-diffs-1
60•glth•6h ago•8 comments

Xr0 verifier, guarantee the safety of C programs at compile time

https://xr0.dev
71•Alifatisk•11h ago•20 comments

Torch.ts – building PyTorch in TypeScript from scratch to learn

https://github.com/13point5/torch.ts
33•13point5•3d ago•7 comments

Exploring Dithering on Spectra 6-color E-Ink Displays

https://myembeddedstuff.com/e-ink-spectra-6-color
89•edent•4d ago•6 comments

China DRAM Maker CXMT Targets $4.2B IPO as It Takes on Samsung, SK Hynix, Micron

https://www.ic-pcb.com/chinas-leading-dram-maker-cxmt-targets-42-billion-ipo-as-it-takes-on-samsu...
141•walterbell•6h ago•51 comments

Worst Case Optimal Joins: Graph-Join Correspondence

https://finnvolkel.com/wcoj-graph-join-correspondence
16•eatonphil•5h ago•1 comments

Advanced Rail Energy Storage of North America

https://aresnorthamerica.com/
26•tomjakubowski•7h ago•9 comments

Sirius DB

https://www.sirius-db.com/
127•manoji•4d ago•17 comments

Trump says Venezuela’s Maduro captured after strikes

https://www.reuters.com/world/americas/loud-noises-heard-venezuela-capital-southern-area-without-...
1643•jumpocelot•23h ago•3939 comments

Recursive Language Models

https://arxiv.org/abs/2512.24601
133•schmuhblaster•18h ago•23 comments

Show HN: Offline tiles and routing and geocoding in one Docker Compose stack

https://www.corviont.com/
82•packet_mover•14h ago•24 comments

Experiments with Ableton-MCP

https://jhurliman.org/post/804323197731373056/experiments-with-ableton-mcp-dec-2025
85•jhurliman•5d ago•15 comments