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.

Proof of Corn

https://proofofcorn.com/
142•rocauc•1h ago•95 comments

Claude.ai silently failing since Jan 14, no official acknowledgment

https://github.com/anthropics/claude-code/issues/18866
55•nurimamedov•58m ago•21 comments

Microsoft gave FBI set of BitLocker encryption keys to unlock suspects' laptops

https://techcrunch.com/2026/01/23/microsoft-gave-fbi-a-set-of-bitlocker-encryption-keys-to-unlock...
237•bookofjoe•1h ago•184 comments

Radicle: The Sovereign Forge

https://radicle.xyz
216•ibobev•6h ago•103 comments

Route leak incident on January 22, 2026

https://blog.cloudflare.com/route-leak-incident-january-22-2026/
37•nomaxx117•1h ago•1 comments

KORG phase8 – Acoustic Synthesizer

https://www.korg.com/us/products/dj/phase8/
108•bpierre•5h ago•60 comments

Notes on the Intel 8086 processor's arithmetic-logic unit

https://www.righto.com/2026/01/notes-on-intel-8086-processors.html
19•elpocko•2h ago•1 comments

AI is a horse (2024)

https://kconner.com/2024/08/02/ai-is-a-horse.html
395•zdw•3d ago•191 comments

Killing the ISP Appliance: An eBPF/XDP Approach to Distributed BNG

https://markgascoyne.co.uk/posts/ebpf-bng/
26•chaz6•2h ago•8 comments

Booting from a vinyl record (2020)

https://boginjr.com/it/sw/dev/vinyl-boot/
225•yesturi•9h ago•72 comments

Show HN: Zsweep – Play Minesweeper using only Vim motions

https://zsweep.com
43•oug-t•5d ago•16 comments

Tesla kills Autopilot, locks lane-keeping behind $99/month fee

https://arstechnica.com/cars/2026/01/tesla-wants-recurring-revenue-discontinues-autopilot-in-favo...
20•CharlesW•12m ago•0 comments

Show HN: New 3D Mapping website - Create heli orbits and "playable" map tours.

https://www.easy3dmaps.com/gallery
16•dobodob•2h ago•5 comments

Show HN: Whosthere: A LAN discovery tool with a modern TUI, written in Go

https://github.com/ramonvermeulen/whosthere
153•rvermeulen98•7h ago•58 comments

Waypoint-1: Real-Time Interactive Video Diffusion from Overworld

https://huggingface.co/blog/waypoint-1
13•avaer•4h ago•0 comments

Proton Spam and the AI Consent Problem

https://dbushell.com/2026/01/22/proton-spam/
413•dbushell•12h ago•259 comments

I built a light that reacts to radio waves [video]

https://www.youtube.com/watch?v=moBCOEiqiPs
401•codetheweb•14h ago•93 comments

Zotero 8

https://www.zotero.org/blog/zotero-8/
49•bouchard•1h ago•3 comments

Gas Town's Agent Patterns, Design Bottlenecks, and Vibecoding at Scale

https://maggieappleton.com/gastown
136•pavel_lishin•3h ago•150 comments

European Alternatives

https://european-alternatives.eu
393•s_dev•6h ago•178 comments

Updates to our web search products and Programmable Search Engine capabilities

https://programmablesearchengine.googleblog.com/2026/01/updates-to-our-web-search-products.html
187•01jonny01•10h ago•159 comments

House Vote Keeps Federal "Kill Switch" Vehicle Mandate

https://reclaimthenet.org/house-vote-keeps-federal-kill-switch-vehicle-mandat
45•mikece•1h ago•36 comments

Nobody likes lag: How to make low-latency dev sandboxes

https://www.compyle.ai/blog/nobody-likes-lag/
8•mnazzaro•2h ago•0 comments

Kotlin's Rich Errors: Native, Typed Errors Without Exceptions

https://cekrem.github.io/posts/kotlin-rich-errors-elm-union-types/
16•todsacerdoti•5d ago•8 comments

Replacing Protobuf with Rust to go 5 times faster

https://pgdog.dev/blog/replace-protobuf-with-rust
158•whiteros_e•10h ago•105 comments

Flying with Photons: Rendering Novel Views of Propagating Light

https://anaghmalik.com/FlyingWithPhotons/
26•pillars•3d ago•9 comments

Show HN: Teemux – Zero-config log multiplexer with built-in MCP server

https://teemux.com/
7•gajus•3h ago•2 comments

Three RCEs in Ilias Learning Management System

https://srlabs.de/blog/breaking-ilias-part-2-three-to-rce
17•hack223•3h ago•3 comments

Show HN: Text-to-video model from scratch (2 brothers, 2 years, 2B params)

https://huggingface.co/collections/Linum-AI/linum-v2-2b-text-to-video
107•schopra909•1d ago•22 comments

Capital One to acquire Brex for $5.15B

https://www.reuters.com/legal/transactional/capital-one-buy-fintech-firm-brex-515-billion-deal-20...
372•personjerry•22h ago•304 comments