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.

Notepad++ hijacked by state-sponsored actors

https://notepad-plus-plus.org/news/hijacked-incident-info-update/
71•mysterydip•27m ago•12 comments

Defeating a 40-year-old copy protection dongle

https://dmitrybrant.com/2026/02/01/defeating-a-40-year-old-copy-protection-dongle
249•zdw•4h ago•74 comments

Treasures found on HS2 route stored in secret warehouse

https://www.bbc.com/news/articles/c93v21q5xdvo
29•breve•4h ago•8 comments

Show HN: NanoClaw – “Clawdbot” in 500 lines of TS with Apple container isolation

https://github.com/gavrielc/nanoclaw
177•jimminyx•3h ago•52 comments

Apple I Advertisement (1976)

http://apple1.chez.com/Apple1project/Gallery/Gallery.htm
177•janandonly•8h ago•119 comments

Actors: A Model of Concurrent Computation [pdf]

https://apps.dtic.mil/sti/tr/pdf/ADA157917.pdf
11•kioku•1h ago•1 comments

My thousand dollar iPhone can't do math

https://journal.rafaelcosta.me/my-thousand-dollar-iphone-cant-do-math/
147•rafaelcosta•5h ago•73 comments

Show HN: Wikipedia as a doomscrollable social media feed

https://xikipedia.org
21•rebane2001•2h ago•10 comments

Adventure Game Studio: OSS software for creating adventure games

https://www.adventuregamestudio.co.uk/
270•doener•12h ago•49 comments

Time Machine-style Backups with rsync (2018)

https://samuelhewitt.com/blog/2018-06-05-time-machine-style-backups-with-rsync
24•accrual•2h ago•10 comments

Founding is a snowball

https://blog.bawolf.com/p/founding-is-a-snowball
37•bryantwolf•3d ago•13 comments

Efficient String Compression for Modern Database Systems

https://cedardb.com/blog/string_compression/
85•jandrewrogers•2d ago•17 comments

Teaching my neighbor to keep the volume down

https://idiallo.com/blog/teaching-my-neighbor-to-keep-the-volume-down
542•firefoxd•7h ago•234 comments

Building Your Own Efficient uint128 in C++

https://solidean.com/blog/2026/building-your-own-u128/
28•PaulHoule•5h ago•3 comments

History and Timeline of the Proco Rat Pedal (2021)

https://web.archive.org/web/20211030011207/https://thejhsshow.com/articles/history-and-timeline-o...
5•brudgers•2h ago•1 comments

Typechecking is undecidable when 'type' is a type (1989) [pdf]

https://dspace.mit.edu/bitstream/handle/1721.1/149366/MIT-LCS-TR-458.pdf?sequence=6
57•zem•2d ago•31 comments

MicroPythonOS graphical operating system delivers Android-like user experience

https://www.cnx-software.com/2026/01/29/micropythonos-graphical-operating-system-delivers-android...
177•mikece•3d ago•55 comments

Troublemaker: The fierce, unruly life of Jessica Mitford

https://www.lrb.co.uk/the-paper/v48/n02/rosemary-hill/one-of-the-worst-things
8•against•4d ago•1 comments

Reliable 25 Gigabit Ethernet via Thunderbolt

https://kohlschuetter.github.io/blog/posts/2026/01/27/tb25/
213•kohlschuetter•5d ago•111 comments

A Crisis comes to Wordle: Reusing old words

https://forkingmad.blog/wordle-crisis/
51•cyanbane•8h ago•66 comments

Clearspace (YC W23) Is Hiring an Applied Researcher (ML)

https://www.ycombinator.com/companies/clearspace/jobs/GOWiDwp-research-engineer-at-clearspace
1•anteloper•7h ago

Netbird – Open Source Zero Trust Networking

https://netbird.io/
643•l1am0•16h ago•245 comments

MRI scans show exercise can make the brain look younger

https://www.sciencedaily.com/releases/2026/01/260121034130.htm
76•amichail•4h ago•20 comments

Towards a science of scaling agent systems: When and why agent systems work

https://research.google/blog/towards-a-science-of-scaling-agent-systems-when-and-why-agent-system...
44•gmays•8h ago•18 comments

Show HN: ÆTHRA – Writing Music as Code

63•CzaxTanmay•2d ago•14 comments

Amiga Unix (Amix)

https://www.amigaunix.com/doku.php/home
112•donatj•15h ago•41 comments

FOSDEM 2026 – Open-Source Conference in Brussels – Day#1 Recap

https://gyptazy.com/blog/fosdem-2026-opensource-conference-brussels/
187•yannick2k•15h ago•107 comments

Allowlisting some Bash commands is often the same as allowlisting all

https://www.joinformal.com/blog/allowlisting-some-bash-commands-is-often-the-same-as-allowlisting...
19•drewgregory•4d ago•17 comments

VisualJJ – Jujutsu in Visual Studio Code

https://www.visualjj.com/
154•demail•4d ago•67 comments

TIL: Apple Broke Time Machine Again on Tahoe

https://taoofmac.com/space/til/2026/02/01/1630
184•rcarmo•6h ago•112 comments