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

Comments

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

Light Mode InFFFFFFlation

https://willhbr.net/2025/10/20/light-mode-infffffflation/
110•Fudgel•1h ago•59 comments

A programming language based on grammatical cases of Turkish

https://github.com/kip-dili/kip
86•nhatcher•3h ago•23 comments

ASCII characters are not pixels: a deep dive into ASCII rendering

https://alexharri.com/blog/ascii-rendering
774•alexharri•12h ago•95 comments

We put Claude Code in Rollercoaster Tycoon

https://labs.ramp.com/rct
338•iamwil•5d ago•186 comments

Show HN: ChunkHound, a local-first tool for understanding large codebases

https://github.com/chunkhound/chunkhound
29•NadavBenItzhak•2h ago•2 comments

Xous Operating System

https://xous.dev/
39•eustoria•3d ago•13 comments

The recurring dream of replacing developers

https://www.caimito.net/en/blog/2025/12/07/the-recurring-dream-of-replacing-developers.html
242•glimshe•9h ago•208 comments

The Olivetti Company

https://www.abortretry.fail/p/the-olivetti-company
117•rbanffy•6d ago•20 comments

An Elizabethan mansion's secrets for staying warm

https://www.bbc.com/future/article/20260116-an-elizabethan-mansions-secrets-for-staying-warm
100•Tachyooon•7h ago•117 comments

Below the Surface: Archeological Finds from the Amsterdam Noord/Zuid Metro Line

https://belowthesurface.amsterdam/en/vondsten
48•stefanvdw1•6d ago•4 comments

The Death of Software Development

https://mike.tech/blog/death-of-software-development
20•andrewdb•3h ago•17 comments

Show HN: Docker.how – Docker command cheat sheet

https://docker.how/
29•anagogistis•3h ago•7 comments

The thing that brought me joy

https://www.stephenlewis.me/blog/the-thing-that-brought-me-joy/
47•monooso•5h ago•20 comments

Raising money fucked me up

https://blog.yakkomajuri.com/blog/raising-money-fucked-me-up
68•yakkomajuri•5h ago•26 comments

M8SBC-486 (Homebrew 486 computer)

https://maniek86.xyz/projects/m8sbc_486.php
76•rasz•6d ago•8 comments

Congress Wants to Hand Your Parenting to Big Tech

https://www.eff.org/deeplinks/2026/01/congress-wants-hand-your-parenting-big-tech
58•hn_acker•2h ago•32 comments

Counterfactual evaluation for recommendation systems

https://eugeneyan.com/writing/counterfactual-evaluation/
54•kurinikku•18h ago•4 comments

There's no single best way to store information

https://www.quantamagazine.org/why-theres-no-single-best-way-to-store-information-20260116/
67•7777777phil•7h ago•42 comments

What are Tithe Maps (2021)

https://mapreading.co.uk/what-are-tithe-maps/
5•thomasjb•5d ago•0 comments

Common misunderstandings about large software companies

https://philipotoole.com/common-misunderstandings-about-large-software-companies/
55•otoolep•5d ago•27 comments

East Germany balloon escape

https://en.wikipedia.org/wiki/East_Germany_balloon_escape
679•robertvc•1d ago•280 comments

Show HN: I built a game on my old phone without knowing what I was building

https://www.kikkupico.com/posts/vibe-discovery/
9•kikkupico•2d ago•5 comments

ClickHouse acquires Langfuse

https://langfuse.com/blog/joining-clickhouse
193•tin7in•14h ago•85 comments

The Dilbert Afterlife

https://www.astralcodexten.com/p/the-dilbert-afterlife
425•rendall•1d ago•281 comments

Map To Poster – Create Art of your favourite city

https://github.com/originalankur/maptoposter
211•originalankur•13h ago•52 comments

Reducing Dependabot Noise

https://nesbitt.io/2026/01/10/16-best-practices-for-reducing-dependabot-noise.html
52•zdw•5d ago•30 comments

Show HN: What if your menu bar was a keyboard-controlled command center?

https://extrabar.app/
56•pugdogdev•6h ago•39 comments

Show HN: Streaming gigabyte medical images from S3 without downloading them

https://github.com/PABannier/WSIStreamer
131•el_pa_b•15h ago•43 comments

6-Day and IP Address Certificates Are Generally Available

https://letsencrypt.org/2026/01/15/6day-and-ip-general-availability
479•jaas•1d ago•268 comments

High-Level Is the Goal

https://bvisness.me/high-level/
232•tobr•2d ago•118 comments