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

Comments

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

HackMyClaw

https://hackmyclaw.com/
49•hentrep•40m ago•16 comments

GrapheneOS – Break Free from Google and Apple

https://blog.tomaszdunia.pl/grapheneos-eng/
775•to3k•7h ago•491 comments

Async/Await on the GPU

https://www.vectorware.com/blog/async-await-on-gpu/
16•Philpax•36m ago•0 comments

I converted 2D conventional flight tracking into 3D

https://aeris.edbn.me/?city=SFO
105•kewonit•2h ago•28 comments

So You Want to Build a Tunnel

https://practical.engineering/blog/2026/2/17/so-you-want-to-build-a-tunnel
11•crescit_eundo•29m ago•5 comments

Launch HN: Sonarly (YC W26) – AI agent to triage and fix your production alerts

https://sonarly.com/
5•Dimittri•26m ago•0 comments

Trata (YC W25) Is Hiring Founding Engineers (NYC)

1•emc329•28m ago

Chess engines do weird stuff

https://girl.surgery/chess
7•admiringly•21m ago•0 comments

Show HN: Price Per Ball – Site that sorts golf balls on Amazon by price per ball

https://priceperball.net/
21•rockdiesel•1h ago•31 comments

Show HN: I built a simulated AI containment terminal for my sci-fi novel

https://vertex.flowlogix.ai
8•stevengreser•44m ago•3 comments

Show HN: 6cy – Experimental streaming archive format with per-block codecs

https://github.com/byte271/6cy
4•yihac1•28m ago•0 comments

Is Show HN dead? No, but it's drowning

https://www.arthurcnops.blog/death-of-show-hn/
172•acnops•7h ago•147 comments

Semantic ablation: Why AI writing is generic and boring

https://www.theregister.com/2026/02/16/semantic_ablation_ai_writing/
73•benji8000•1h ago•71 comments

Four Column ASCII (2017)

https://garbagecollected.org/2017/01/31/four-column-ascii/
290•tempodox•2d ago•69 comments

14-year-old Miles Wu folded origami pattern that holds 10k times its own weight

https://www.smithsonianmag.com/innovation/this-14-year-old-is-using-origami-to-design-emergency-s...
861•bookofjoe•22h ago•181 comments

Hamming Distance for Hybrid Search in SQLite

https://notnotp.com/notes/hamming-distance-for-hybrid-search-in-sqlite/
51•enz•2d ago•9 comments

Show HN: Cycast – High-performance radio streaming server written in Python

https://github.com/LukeB42/Cycast
7•LukeB42•1h ago•0 comments

Show HN: Glitchy camera – a circuit-bent camera simulator in the browser

https://glitchycam.com
142•elayabharath•1d ago•19 comments

Rise of the Triforce

https://dolphin-emu.org/blog/2026/02/16/rise-of-the-triforce/
380•max-m•20h ago•58 comments

CBS didn't air Rep. James Talarico interview out of fear of FCC

https://www.nbcnews.com/business/media/stephen-colbert-cbs-james-talarico-fcc-rcna259341
208•theahura•51m ago•80 comments

Rendering the Visible Spectrum

https://brandonli.net/spectra/doc/
132•signa11•3d ago•22 comments

This is What It's Like to Spend Your Life in Prison (2023) [video]

https://www.youtube.com/watch?v=chpgT_VTEjE
24•NaOH•2d ago•16 comments

Xbox UI Portfolio Site

https://gabrielcabrera.co/
124•valgaze•11h ago•36 comments

Labyrinth Locator

https://labyrinthlocator.org/
4•emigre•3d ago•0 comments

Show HN: I wrote a technical history book on Lisp

https://berksoft.ca/gol/
3•cdegroot•1h ago•0 comments

Visual introduction to PyTorch

https://0byte.io/articles/pytorch_introduction.html
371•0bytematt•4d ago•25 comments

What your Bluetooth devices reveal

https://blog.dmcc.io/journal/2026-bluetooth-privacy-bluehood/
501•ssgodderidge•1d ago•182 comments

Most people are individually optimistic, but think the world is falling apart

https://hannahritchie.substack.com/p/many-people-are-individually-optimistic
9•speckx•31m ago•2 comments

A Programmer's Loss of Identity

https://ratfactor.com/tech-nope2
186•zdw•3d ago•119 comments

Poor Deming never stood a chance

https://surfingcomplexity.blog/2026/02/16/poor-deming-never-stood-a-chance/
172•todsacerdoti•15h ago•107 comments