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

Filing the Corners Off MacBooks

https://kentwalters.com/posts/corners/
121•normanvalentine•1h ago•70 comments

Chimpanzees in Uganda locked in eight-year 'civil war', say researchers

https://www.bbc.com/news/articles/cr71lkzv49po
179•neversaydie•4h ago•99 comments

Sam Altman's response to Molotov cocktail incident

https://blog.samaltman.com/2279512
31•jack_hanford•18m ago•19 comments

1D Chess

https://rowan441.github.io/1dchess/chess.html
601•burnt-resistor•7h ago•114 comments

WireGuard makes new Windows release following Microsoft signing resolution

https://lists.zx2c4.com/pipermail/wireguard/2026-April/009561.html
370•zx2c4•7h ago•104 comments

Industrial design files for Keychron keyboards and mice

https://github.com/Keychron/Keychron-Keyboards-Hardware-Design
261•stingraycharles•7h ago•82 comments

JSON Formatter Chrome Plugin Now Closed and Injecting Adware

https://github.com/callumlocke/json-formatter
118•jkl5xx•4h ago•64 comments

Installing Every* Firefox Extension

https://jack.cab/blog/every-firefox-extension
35•RohanAdwankar•1h ago•6 comments

Nowhere Is Safe

https://steveblank.com/2026/04/09/nowhere-is-safe/
87•sblank•3h ago•129 comments

Watgo – A WebAssembly Toolkit for Go

https://eli.thegreenplace.net/2026/watgo-a-webassembly-toolkit-for-go/
62•ibobev•4h ago•5 comments

Show HN: FluidCAD – Parametric CAD with JavaScript

https://fluidcad.io/
92•maouida•4h ago•20 comments

What is RISC-V and why it matters to Canonical

https://ubuntu.com/blog/risc-v-101-what-is-it-and-what-does-it-mean-for-canonical
74•fork-bomber•2d ago•38 comments

CPU-Z and HWMonitor compromised

https://www.theregister.com/2026/04/10/cpuid_site_hijacked/
233•pashadee•9h ago•80 comments

Helium Is Hard to Replace

https://www.construction-physics.com/p/helium-is-hard-to-replace
226•JumpCrisscross•8h ago•149 comments

Vinyl Cache and Varnish Cache

https://vinyl-cache.org/organization/on_vinyl_cache_and_varnish_cache.html
13•Foxboron•2d ago•0 comments

Launch HN: Twill.ai (YC S25) – Delegate to cloud agents, get back PRs

https://twill.ai
41•danoandco•7h ago•43 comments

Bluesky April 2026 Outage Post-Mortem

https://pckt.blog/b/jcalabro/april-2026-outage-post-mortem-219ebg2
124•jcalabro•7h ago•62 comments

A security scanner as fast as a linter – written in Rust

https://github.com/peaktwilight/foxguard
36•peaktwilight•2d ago•8 comments

Bild AI (YC W25) Is Hiring a Founding Product Engineer

https://www.ycombinator.com/companies/bild-ai/jobs/dDMaxVN-founding-product-engineer
1•rooppal•6h ago

AI assistance when contributing to the Linux kernel

https://github.com/torvalds/linux/blob/master/Documentation/process/coding-assistants.rst
126•hmokiguess•4h ago•102 comments

Show HN: Eve – Managed OpenClaw for work

https://eve.new/login
18•zachdive•5h ago•16 comments

You can't trust macOS Privacy and Security settings

https://eclecticlight.co/2026/04/10/why-you-cant-trust-privacy-security/
406•zdw•7h ago•143 comments

Clojure on Fennel Part One: Persistent Data Structures

https://andreyor.st/posts/2026-04-07-clojure-on-fennel-part-one-persistent-data-structures/
115•roxolotl•3d ago•10 comments

Simulating a 2D Quadcopter from Scratch

https://mrandri19.github.io/2026/04/03/2d-quadcopter-simulation.html
14•daww•2d ago•6 comments

Show HN: A WYSIWYG word processor in Python

https://codeberg.org/chrisecker/miniword
51•chrisecker•4h ago•24 comments

Molotov cocktail is hurled at home of Sam Altman

https://www.nytimes.com/2026/04/10/us/open-ai-sam-altman-molotov-cocktail.html
148•enraged_camel•4h ago•367 comments

The best seat in town

https://www.torched.la/the-best-seat-in-town/
32•NaOH•1d ago•8 comments

The difficulty of making sure your website is broken

https://letsencrypt.org/2026/04/10/test-sites.html
50•mcpherrinm•6h ago•22 comments

Combining spicy foods with mint boosts anti-inflammatory effects 100x or more

https://scitechdaily.com/this-spice-combo-could-slash-inflammation-hundreds-of-times-more-effecti...
61•joeax•2h ago•31 comments

Mysteries of Dropbox: Testing of a Distributed Sync Service (2016) [pdf]

https://www.cis.upenn.edu/~bcpierce/papers/mysteriesofdropbox.pdf
98•JackeJR•3d ago•23 comments