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.

Discord will require a face scan or ID for full access next month

https://www.theverge.com/tech/875309/discord-age-verification-global-roll-out
1168•x01•10h ago•1161 comments

What Functional Programmers Get Wrong About Systems

https://www.iankduncan.com/engineering/2026-02-09-what-functional-programmers-get-wrong-about-sys...
23•subset•1h ago•3 comments

The shadowy world of abandoned oil tankers

https://www.bbc.com/news/articles/cddg885344do
43•1659447091•2h ago•9 comments

Converting a $3.88 analog clock from Walmart into a ESP8266-based Wi-Fi clock

https://github.com/jim11662418/ESP8266_WiFi_Analog_Clock
387•tokyobreakfast•9h ago•132 comments

Why is the sky blue?

https://explainers.blog/posts/why-is-the-sky-blue/
400•udit99•9h ago•145 comments

Stop Using Icons in Data Tables

https://medium.com/@codythistleward/stop-using-icons-in-data-tables-7537af18ea0d
59•ctward•4d ago•18 comments

Hard-braking events as indicators of road segment crash risk

https://research.google/blog/hard-braking-events-as-indicators-of-road-segment-crash-risk/
199•aleyan•8h ago•308 comments

LiftKit – UI where "everything derives from the golden ratio"

https://www.chainlift.io/liftkit
46•peter_d_sherman•3h ago•16 comments

How I've run major projects (2025)

https://www.benkuhn.net/pjm/
96•thomascountz•6d ago•12 comments

Game Theory Patterns at Work (2016)

https://daeus.blog/2026/01/18/game-theory-patterns-at-work/
22•kurinikku•5h ago•1 comments

Expansion Microscopy Has Transformed How We See the Cellular World

https://www.quantamagazine.org/expansion-microscopy-has-transformed-how-we-see-the-cellular-world...
43•sohkamyung•4d ago•3 comments

Everyone’s building “async agents,” but almost no one can define them

https://www.omnara.com/blog/what-is-an-async-agent-really
19•kmansm27•7h ago•18 comments

UEFI Bindings for JavaScript

https://codeberg.org/smnx/promethee
199•ananas-dev•11h ago•100 comments

Sandboxels

https://neal.fun/sandboxels/
148•2sf5•10h ago•27 comments

Game Boy Advance Audio Interpolation

https://jsgroth.dev/blog/posts/gba-audio-interpolation/
67•ibobev•7h ago•28 comments

F# 10

https://devblogs.microsoft.com/dotnet/introducing-fsharp-10/
63•tosh•5d ago•10 comments

Thoughts on Generating C

https://wingolog.org/archives/2026/02/09/six-thoughts-on-generating-c
195•ingve•11h ago•60 comments

Show HN: Algorithmically finding the longest line of sight on Earth

https://alltheviews.world
370•tombh•15h ago•150 comments

Information Is Beautiful

https://informationisbeautiful.net/
108•surprisetalk•6d ago•11 comments

Data exfil from agents in messaging apps

https://www.promptarmor.com/resources/llm-data-exfiltration-via-url-previews-(with-openclaw-examp...
10•sarelta•5h ago•4 comments

Sleeper Shells: Attackers Are Planting Dormant Backdoors in Ivanti EPMM

https://defusedcyber.com/ivanti-epmm-sleeper-shells-403jsp
126•waihtis•10h ago•45 comments

Show HN: VillageSQL = MySQL and Extensions

https://github.com/villagesql/villagesql-server
11•metzby•4d ago•1 comments

America has a tungsten problem

https://www.noleary.com/blog/posts/1
118•noleary•4h ago•120 comments

Ask HN: What are you working on? (February 2026)

256•david927•1d ago•872 comments

The Traffic Mimes of Bogotá

https://www.atlasobscura.com/articles/traffic-mimes-of-colombia
90•IgorPartola•4d ago•20 comments

Pg-dev-container is a ready-to-run VS Code development container for PostgreSQL

https://github.com/jnidzwetzki/pg-dev-container
29•mariuz•4d ago•6 comments

Like Game-of-Life, but on Growing Graphs, with WASM and WebGL

https://znah.net/graphs/
169•znah•1d ago•24 comments

What's the Entropy of a Random Integer?

https://quomodocumque.wordpress.com/2026/02/03/whats-the-entropy-of-a-random-integer/
38•sebg•4d ago•6 comments

Another GitHub outage in the same day

https://www.githubstatus.com/incidents/lcw3tg2f6zsd
263•Nezteb•6h ago•195 comments

Super Bowl Ad for Ring Cameras Touted AI Surveillance Network

https://truthout.org/articles/super-bowl-ad-for-ring-cameras-touted-ai-surveillance-network/
155•cdrnsf•4h ago•84 comments