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.

I love the work of the ArchWiki maintainers

https://k7r.eu/i-love-the-work-of-the-archwiki-maintainers/
519•panic•10h ago•93 comments

Flashpoint Archive – Over 200k web games and animations preserved

https://flashpointarchive.org
139•helloplanets•6h ago•32 comments

Two different tricks for fast LLM inference

https://www.seangoedecke.com/fast-llm-inference/
42•swah•2h ago•24 comments

My smart sleep mask broadcasts users' brainwaves to an open MQTT broker

https://aimilios.bearblog.dev/reverse-engineering-sleep-mask/
479•minimalthinker•20h ago•214 comments

Inspecting the Source of Go Modules

https://words.filippo.io/go-source/
25•todsacerdoti•2d ago•2 comments

A practical guide to observing the night sky for real skies and real equipment

https://stargazingbuddy.com/
32•constantinum•2d ago•2 comments

Zvec: A lightweight, fast, in-process vector database

https://github.com/alibaba/zvec
161•dvrp•2d ago•26 comments

Instagram's URL Blackhole

https://medium.com/@shredlife/instagrams-url-blackhole-c1733e081664
215•tkp-415•1d ago•35 comments

uBlock filter list to hide all YouTube Shorts

https://github.com/i5heu/ublock-hide-yt-shorts/
937•i5heu•18h ago•278 comments

Guitars of the USSR and the Jolana Special in Azerbaijani Music

https://caucascapades.wordpress.com/2012/06/14/guitars-of-the-ussr-and-the-jolana-special-in-azer...
54•bpierre•8h ago•8 comments

Interference Pattern Formed in a Finger Gap Is Not Single Slit Diffraction

https://note.com/hydraenids/n/nbe89030deaba
36•uolmir•2d ago•5 comments

5,300-year-old 'bow drill' rewrites story of ancient Egyptian tools

https://www.ncl.ac.uk/press/articles/latest/2026/02/ancientegyptiandrillbit/
128•geox•4d ago•38 comments

Show HN: Copy-and-patch compiler for hard real-time Python

https://github.com/Nonannet/copapy
4•Saloc•4d ago•0 comments

How often do full-body MRIs find cancer?

https://www.usatoday.com/story/life/health-wellness/2026/02/11/full-body-mris-cancer-aneurysm/883...
119•brandonb•1d ago•160 comments

News publishers limit Internet Archive access due to AI scraping concerns

https://www.niemanlab.org/2026/01/news-publishers-limit-internet-archive-access-due-to-ai-scrapin...
511•ninjagoo•17h ago•310 comments

Amsterdam Compiler Kit

https://github.com/davidgiven/ack
135•andsoitis•19h ago•47 comments

OpenAI should build Slack

https://www.latent.space/p/ainews-why-openai-should-build-slack
178•swyx•1d ago•204 comments

Breaking the spell of vibe coding

https://www.fast.ai/posts/2026-01-28-dark-flow/
273•arjunbanker•1d ago•211 comments

MDST Engine: run GGUF models in the browser with WebGPU/WASM

https://mdst.app/blog/mdst_engine_run_gguf_models_in_your_browser
22•vmirnv•3d ago•3 comments

Discord Distances Itself from Peter Thiel's Palantir Age Verification Firm

https://kotaku.com/discord-palantir-peter-thiel-persona-age-verification-2000668951
93•thisislife2•6h ago•38 comments

Ooh.directory: a place to find good blogs that interest you

https://ooh.directory/
529•hisamafahri•22h ago•132 comments

The consequences of task switching in supervisory programming

https://martinfowler.com/fragments/2026-02-13.html
91•bigwheels•1d ago•39 comments

A review of M Disc archival capability with long term testing results (2016)

http://www.microscopy-uk.org.uk/mag/artsep16/mol-mdisc-review.html
89•1970-01-01•20h ago•107 comments

Seeing Theory

https://seeing-theory.brown.edu/
27•Tomte•3h ago•1 comments

NewPipe: YouTube client without vertical videos and algorithmic feed

https://newpipe.net/
277•nvader•10h ago•84 comments

Descent, ported to the web

https://mrdoob.github.io/three-descent/
261•memalign•16h ago•50 comments

Flood Fill vs. The Magic Circle

https://www.robinsloan.com/winter-garden/magic-circle/
79•tobr•4d ago•24 comments

Windows NT/OS2 Design Workbook

https://computernewb.com/~lily/files/Documents/NTDesignWorkbook/
120•markus_zhang•4d ago•47 comments

Colored Petri Nets, LLMs, and distributed applications

https://blog.sao.dev/cpns-llms-distributed-apps/
43•stuartaxelowen•15h ago•5 comments

A header-only C vector database library

https://github.com/abdimoallim/vdb
80•abdimoalim•18h ago•35 comments