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

NTP at NIST Boulder Has Lost Power

https://lists.nanog.org/archives/list/nanog@lists.nanog.org/message/ACADD3NKOG2QRWZ56OSNNG7UIEKKT...
94•lpage•3h ago•47 comments

Charles Proxy

https://www.charlesproxy.com/
157•handfuloflight•5h ago•52 comments

A train-sized tunnel is now carrying electricity under South London

https://www.ianvisits.co.uk/articles/a-train-sized-tunnel-is-now-carrying-electricity-under-south...
36•zeristor•2h ago•34 comments

CSS Grid Lanes

https://webkit.org/blog/17660/introducing-css-grid-lanes/
539•frizlab•13h ago•151 comments

A terminal emulator that runs in your terminal. Powered by Turbo Vision

https://github.com/magiblot/tvterm
42•mariuz•2d ago•4 comments

Mistral OCR 3

https://mistral.ai/news/mistral-ocr-3
547•pember•1d ago•101 comments

Skills Officially Comes to Codex

https://developers.openai.com/codex/skills/
25•rochansinha•3h ago•4 comments

What Does a Database for SSDs Look Like?

https://brooker.co.za/blog/2025/12/15/database-for-ssd.html
8•charleshn•1h ago•3 comments

Airbus to migrate critical apps to a sovereign Euro cloud

https://www.theregister.com/2025/12/19/airbus_sovereign_cloud/
127•saubeidl•2h ago•54 comments

Garage – An S3 object store so reliable you can run it outside datacenters

https://garagehq.deuxfleurs.fr/
585•ibobev•19h ago•126 comments

Contrails Map

https://map.contrails.org/
38•schaum•3h ago•14 comments

Sharp: High performance Node.js image processing/optimization

https://github.com/lovell/sharp
13•nateb2022•3d ago•1 comments

Privacy doesn't mean anything anymore, anonymity does

https://servury.com/blog/privacy-is-marketing-anonymity-is-architecture/
97•ybceo•4h ago•77 comments

New Quantum Antenna Reveals a Hidden Terahertz World

https://www.sciencedaily.com/releases/2025/12/251213032617.htm
8•aacker•4d ago•0 comments

TP-Link Tapo C200: Hardcoded Keys, Buffer Overflows and Privacy

https://www.evilsocket.net/2025/12/18/TP-Link-Tapo-C200-Hardcoded-Keys-Buffer-Overflows-and-Priva...
291•sibellavia•16h ago•87 comments

Carolina Cloud – One third the cost of AWS for data science workloads

https://carolinacloud.io/
106•bojangleslover•5d ago•59 comments

Fuzix on a Raspberry Pi Pico

https://ewpratten.com/blog/fuzix-pi-pico
63•ewpratten•5d ago•5 comments

8-bit Boléro

https://linusakesson.net/music/bolero/index.php
261•Aissen•23h ago•39 comments

Graphite is joining Cursor

https://cursor.com/blog/graphite
232•fosterfriends•19h ago•233 comments

LLM Year in Review

https://karpathy.bearblog.dev/year-in-review-2025/
226•swyx•14h ago•61 comments

Feast Your Eyes on Japan's Fake Food

https://www.newyorker.com/culture/annals-of-gastronomy/feast-your-eyes-on-japans-fake-food
19•Kaibeezy•4d ago•7 comments

A better zip bomb (2019)

https://www.bamsoftware.com/hacks/zipbomb/
140•kekqqq•13h ago•51 comments

Build Your Own React

https://pomb.us/build-your-own-react/
121•howToTestFE•11h ago•8 comments

Brown/MIT shooting suspect found dead, officials say

https://www.washingtonpost.com/nation/2025/12/18/brown-university-shooting-person-of-interest/
155•anigbrowl•1d ago•189 comments

The Deviancy Signal: Having "Nothing to Hide" Is a Threat to Us All

https://thompson2026.com/blog/deviancy-signal/
26•NickForLiberty•5h ago•18 comments

Gh-actions-lockfile: generate and verify lockfiles for GitHub Actions

https://gh-actions-lockfile.net
36•gjtorikian•3d ago•20 comments

Rust's Block Pattern

https://notgull.net/block-pattern/
183•zdw•1d ago•93 comments

Show HN: TinyPDF – 3kb pdf library (70x smaller than jsPDF)

https://github.com/Lulzx/tinypdf
188•lulzx•1d ago•23 comments

Qwen-Image-Layered: transparency and layer aware open diffusion model

https://huggingface.co/papers/2512.15603
111•dvrp•1d ago•18 comments

History LLMs: Models trained exclusively on pre-1913 texts

https://github.com/DGoettlich/history-llms
824•iamwil•1d ago•395 comments