frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Right-Truncatable Prime Counter

https://github.com/EbodShojaei/Right-Truncatable-Primes
9•rainmans•1y ago

Comments

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

Gardner police discontinue Flock cameras as license plate readers face scrutiny

https://www.kmbc.com/article/gardner-kansas-flock-cameras-license-plate-readers-privacy/73468724
52•cocacola1•1h ago•11 comments

OpenRouter is joining Stripe

https://openrouter.ai/blog/announcements/openrouter-is-joining-stripe/
599•rvz•7h ago•317 comments

Go 1.27

https://go.dev/blog/go1.27
421•database64128•6h ago•102 comments

Google replaced Git tags for certain source code with obtaining via Google Drive

https://grapheneos.social/@GrapheneOS/117057099753905023
272•Animux•6h ago•108 comments

Unlocking a locked/deactivated e-waste Cricut Maker

https://sprocketfox.io/xssfox/2026/07/01/cricut-unlock/
122•1e1a•5h ago•33 comments

Unsloth Dynamic 3.0 GGUFs

https://unsloth.ai/docs/basics/dynamic-3.0-ggufs
173•jonesy827•6h ago•64 comments

Os8088.com: IBM XT OS now has a Browser, CP/M 2.2 with Z80 core and MS Word 1.1a

https://os8088.com/spotlight/
37•jggonz•3h ago•24 comments

Sol Loves to Cheat

https://jumploops.com/blog/sol-loves-to-cheat/
65•jumploops•1d ago•36 comments

A joke domain purchase turned in geopolitical warfare

https://sprocketfox.io/xssfox/2026/08/19/sondehub-and-war/
733•kareiva•13h ago•112 comments

Casio F-B100W-1A

https://www.casio.com/uk/watches/casio/product.F-B100W-1A/
264•__fst__•9h ago•212 comments

DFlash 2: Keep Drafting Parallel

https://inco.ai/blog/dflash2/
67•mike-the-brain•4h ago•7 comments

Geolocating a random island using geometry and CUDA programming

https://yassa9.github.io/osint/gralhix-004/
394•yassa9•12h ago•75 comments

The little-known winstart.bat batch file

https://devblogs.microsoft.com/oldnewthing/20260811-00/?p=112605
70•ingve•4d ago•15 comments

Feature Request: Support AGENTS.md

https://github.com/anthropics/claude-code/issues/6235
120•fg137•3h ago•65 comments

Raiders of the Lost Array: vibe-coding a macOS driver for my orphaned Drobo

https://fetzu.ch/blog/20260819_claudevsdrobo/
3•fetzu•26m ago•0 comments

Why travellers are obsessed with foreign supermarkets

https://www.bbc.com/travel/article/20260811-the-supermarket-is-becoming-a-tourist-attraction
12•edward•3d ago•4 comments

Mathematics in the age of AI

https://arxiv.org/abs/2608.16753
115•jonbaer•9h ago•110 comments

Manabu Kosaka's Handmade Paper Sculptures

https://coca11272000.wixsite.com/manabukosaka
6•surprisetalk•10h ago•0 comments

PostgreSQL for Everything

https://www.raphaelbauer.com:443/posts/postgresql-everything/
296•karlmush•11h ago•183 comments

Pressed Penny Machine Map

https://pennypresses.net/home/map.php
37•willmeyers•4h ago•34 comments

Ornith-1.5: From Self-Scaffolding to Self-Improvement

https://ornith.ai/ornith_1_5.html
165•CommonGuy•9h ago•57 comments

fx :Tiny, open, native coding agent.

https://fx.sh
167•handfuloflight•1d ago•85 comments

Xwayland 26.1.0 rc1

https://lists.x.org/archives/xorg/2026-August/062280.html
47•ErenayDev•4h ago•34 comments

A portable, sensitive, low power, analog Geiger counter (2025)

https://ludens.cl/Electron/geiger2/geiger2.html
38•crorella•3d ago•1 comments

Extensible Software in the age of LLMs

https://jeremymorrell.dev/blog/extensible-software-in-the-age-of-llms/
102•coloneltcb•8h ago•48 comments

IDE Nostalgia (2022)

https://davidsmaynard.com/blog/keyset
32•dmaynard•5d ago•1 comments

Collaborative Human Agent Protocol (CHAP)

https://github.com/BrightbeamAI/chap
17•arsalanshahid•2h ago•3 comments

Air Theremin – A browser theremin you play by waving at your webcam

https://theremin.bizibah.com/
244•gurov•14h ago•83 comments

The Future of CSS: Target Multiple Classes with the Class Prefix Selector

https://www.bram.us/2026/08/20/the-future-of-css-target-multiple-classes-with-the-class-prefix-se...
13•cdrnsf•1h ago•8 comments

Remote workers report the highest well-being in study of 7,700 employees

https://www.colorado.edu/today/2026/08/12/remote-workers-report-highest-well-being-study-7700-emp...
478•downbad_•9h ago•237 comments