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

Comments

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

Android and iPhone users can now share files, starting with the Pixel 10

https://blog.google/products/android/quick-share-airdrop/
426•abraham•8h ago•278 comments

Nano Banana Pro

https://blog.google/technology/ai/nano-banana-pro/
824•meetpateltech•10h ago•514 comments

Nursing Excluded as 'Professional' Degree by Department of Education

https://nurse.org/news/nursing-excluded-as-professional-degree-dept-of-ed/
64•ourmandave•52m ago•26 comments

FEX-emu – Run x86 applications on ARM64 Linux devices

https://fex-emu.com/
54•open-paren•1w ago•12 comments

New Glenn Update

https://www.blueorigin.com/news/new-glenn-upgraded-engines-subcooled-components-drive-enhanced-pe...
111•rbanffy•4h ago•49 comments

New OS aims to provide (some) compatibility with macOS

https://github.com/ravynsoft/ravynos
127•kasajian•5h ago•46 comments

Exploring the Fragmentation of Wayland, an xdotool adventure

https://www.semicomplete.com/blog/xdotool-and-exploring-wayland-fragmentation/
16•viraptor•4d ago•3 comments

Data-at-Rest Encryption in DuckDB

https://duckdb.org/2025/11/19/encryption-in-duckdb
129•chmaynard•6h ago•15 comments

NTSB Preliminary Report – UPS Boeing MD-11F Crash [pdf]

https://www.ntsb.gov/Documents/Prelimiary%20Report%20DCA26MA024.pdf
130•gregsadetsky•7h ago•151 comments

Over-Regulation is Doubling the Cost

https://rein.pk/over-regulation-is-doubling-the-cost
50•bilsbie•2h ago•52 comments

GitHut – Programming Languages and GitHub (2014)

https://githut.info/
48•tonyhb•4h ago•19 comments

The Lions Operating System

https://lionsos.org
115•plunderer•7h ago•27 comments

Okta's NextJS-0auth troubles

https://joshua.hu/ai-slop-okta-nextjs-0auth-security-vulnerability
222•ramimac•2d ago•79 comments

Microsoft makes Zork open-source

https://opensource.microsoft.com/blog/2025/11/20/preserving-code-that-shaped-generations-zork-i-i...
428•tabletcorry•7h ago•177 comments

Launch HN: Poly (YC S22) – Cursor for Files

44•aabhay•8h ago•41 comments

Free interactive tool that shows you how PCIe lanes work on motherboards

https://mobomaps.com
146•tagyro•1d ago•28 comments

Readonly Characters Are a Big Deal

https://matklad.github.io/2025/11/10/readonly-characters.html
36•vinhnx•1w ago•4 comments

Adversarial poetry as a universal single-turn jailbreak mechanism in LLMs

https://arxiv.org/abs/2511.15304
242•capgre•13h ago•123 comments

Show HN: F32 – An Extremely Small ESP32 Board

https://github.com/PegorK/f32
188•pegor•1d ago•28 comments

Prozac 'no better than placebo' for treating children with depression, experts

https://www.theguardian.com/society/2025/nov/20/prozac-no-better-than-placebo-for-treating-childr...
43•pseudolus•1h ago•25 comments

Interactive World History Atlas Since 3000 BC

http://geacron.com/home-en/
289•not_knuth•16h ago•126 comments

Show HN: My hobby OS that runs Minecraft

https://astral-os.org/posts/2025/10/31/astral-minecraft.html
125•avaliosdev•3d ago•16 comments

OOP is shifting between domains, not disappearing

https://blog.jsbarretto.com/post/actors
54•ibobev•5h ago•103 comments

Freer Monads, More Extensible Effects (2015) [pdf]

https://okmij.org/ftp/Haskell/extensible/more.pdf
76•todsacerdoti•10h ago•17 comments

Run Docker containers natively in Proxmox 9.1 (OCI images)

https://raymii.org/s/tutorials/Finally_run_Docker_containers_natively_in_Proxmox_9.1.html
103•jandeboevrie•4h ago•29 comments

What's in a Passenger Name Record (PNR)? (2013)

https://hasbrouck.org/articles/PNR.html
60•rzk•4d ago•13 comments

Go Cryptography State of the Union

https://words.filippo.io/2025-state/
129•ingve•8h ago•47 comments

Red Alert 2 in web browser

https://chronodivide.com/
401•nsoonhui•13h ago•131 comments

Homeschooling hits record numbers

https://reason.com/2025/11/19/homeschooling-hits-record-numbers/
16•bilsbie•1h ago•0 comments

50th Anniversary of BitBLT

https://mastodon.sdf.org/@fvzappa/115574872559813280
60•todsacerdoti•23h ago•11 comments