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.

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

https://ooh.directory/
213•hisamafahri•3h ago•67 comments

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

https://aimilios.bearblog.dev/reverse-engineering-sleep-mask/
72•minimalthinker•1h ago•36 comments

Show HN: Sameshi – a ~1200 Elo chess engine that fits within 2KB

https://github.com/datavorous/sameshi
95•datavorous_•3h ago•34 comments

Zig – io_uring and Grand Central Dispatch std.Io implementations landed

https://ziglang.org/devlog/2026/#2026-02-13
268•Retro_Dev•8h ago•167 comments

Shades of Halftone

https://blog.maximeheckel.com/posts/shades-of-halftone/
42•surprisetalk•4d ago•0 comments

Vim 9.2 Released

https://www.vim.org/vim-9.2-released.php
79•tapanjk•1h ago•12 comments

Show HN: I spent 3 years reverse-engineering a 40 yo stock market sim from 1986

https://www.wallstreetraider.com/story.html
584•benstopics•4d ago•195 comments

Platforms bend over backward to help DHS censor ICE critics, advocates say

https://arstechnica.com/tech-policy/2026/02/platforms-bend-over-backward-to-help-dhs-censor-ice-c...
118•pjmlp•1h ago•40 comments

Show HN: SQL-tap – Real-time SQL traffic viewer for PostgreSQL and MySQL

https://github.com/mickamy/sql-tap
198•mickamy•12h ago•30 comments

How many registers does an x86-64 CPU have? (2020)

https://blog.yossarian.net/2020/11/30/How-many-registers-does-an-x86-64-cpu-have
49•tosh•3h ago•27 comments

A Review of M Disc Archival Capability. With long term testing results

http://www.microscopy-uk.org.uk/mag/artsep16/mol-mdisc-review.html
9•1970-01-01•1h ago•4 comments

Ars Technica makes up quotes from Matplotlib maintainer; pulls story

https://infosec.exchange/@mttaggart/116065340523529645
369•robin_reala•7h ago•143 comments

Babylon 5 is now free to watch on YouTube

https://cordcuttersnews.com/babylon-5-is-now-free-to-watch-on-youtube/
479•walterbell•1d ago•236 comments

Code Storage by the Pierre Computer Company

https://code.storage/
32•admp•4d ago•14 comments

What color are your bits? (2004)

https://ansuz.sooke.bc.ca/entry/23
24•tomodachi94•3d ago•7 comments

The Sling: Humanity's Forgotten Power

https://www.slinging.org/
71•jsattler•4d ago•14 comments

Understanding the Go Compiler: The Linker

https://internals-for-interns.com/posts/the-go-linker/
140•valyala•5d ago•35 comments

Sound and Practical Points-To Analysis for Incomplete C Programs [pdf]

https://www.sjalander.com/research/pdf/sjalander-cgo2026-pip.pdf
6•st_•5d ago•0 comments

The mathematics of compression in database systems

https://www.bitsxpages.com/p/the-mathematics-of-compression-in
35•agavra•4d ago•5 comments

The World of Harmonics – With a Coffee, Guitar and Synth

https://mynoise.net/vlog.php?ep=20260204
62•gregsadetsky•5d ago•13 comments

7zip.com Is Serving Malware

https://www.malwarebytes.com/blog/threat-intel/2026/02/fake-7-zip-downloads-are-turning-home-pcs-...
28•Alifatisk•2h ago•7 comments

Stoat removes all LLM-generated code following user criticism

https://github.com/orgs/stoatchat/discussions/1022
6•ashleyn•24m ago•1 comments

Show HN: Data Engineering Book – An open source, community-driven guide

https://github.com/datascale-ai/data_engineering_book/blob/main/README_en.md
210•xx123122•19h ago•25 comments

How the Little Guy Moved

https://animationobsessive.substack.com/p/how-the-little-guy-moved
89•zdw•4d ago•3 comments

Cogram (YC W22) – Hiring former technical founders

https://www.ycombinator.com/companies/cogram/jobs/LDTrViN-ex-technical-founder-product-engineer
1•ricwo•10h ago

Common Lisp Screenshots: today's CL applications in action

http://www.lisp-screenshots.org
150•_emacsomancer_•2d ago•44 comments

Building a TUI is easy now

https://hatchet.run/blog/tuis-are-easy-now
273•abelanger•23h ago•215 comments

NPMX – a fast, modern browser for the NPM registry

https://npmx.dev
136•slymax•15h ago•57 comments

Font Rendering from First Principles

https://mccloskeybr.com/articles/font_rendering.html
193•krapp•6d ago•36 comments

GPT-5.2 derives a new result in theoretical physics

https://openai.com/index/new-result-theoretical-physics/
541•davidbarker•21h ago•368 comments