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•10mo ago

Comments

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

Show HN: Ghost Pepper – Local hold-to-talk speech-to-text for macOS

https://github.com/matthartman/ghost-pepper
116•MattHart88•2h ago•56 comments

Ah, peptides. where to begin?

https://www.science.org/content/blog-post/ah-peptides-where-begin
38•A_D_E_P_T•54m ago•28 comments

Launch HN: Freestyle – Sandboxes for Coding Agents

https://www.freestyle.sh/
162•benswerd•5h ago•89 comments

A cryptography engineer's perspective on quantum computing timelines

https://words.filippo.io/crqc-timeline/
249•thadt•6h ago•105 comments

Show HN: GovAuctions lets you browse government auctions at once

https://www.govauctions.app/
146•player_piano•5h ago•54 comments

German police name alleged leaders of GandCrab and REvil ransomware groups

https://krebsonsecurity.com/2026/04/germany-doxes-unkn-head-of-ru-ransomware-gangs-revil-gandcrab/
236•Bender•8h ago•124 comments

Show HN: Hippo, biologically inspired memory for AI agents

https://github.com/kitfunso/hippo-memory
5•kitfunso•27m ago•1 comments

Issue: Claude Code is unusable for complex engineering tasks with Feb updates

https://github.com/anthropics/claude-code/issues/42796
637•StanAngeloff•8h ago•404 comments

HackerRank (YC S11) Is Hiring

1•rvivek•1h ago

What being ripped off taught me

https://belief.horse/notes/what-being-ripped-off-taught-me/
287•doctorhandshake•9h ago•164 comments

Sam Altman may control our future – can he be trusted?

https://www.newyorker.com/magazine/2026/04/13/sam-altman-may-control-our-future-can-he-be-trusted
355•adrianhon•11h ago•106 comments

Book review: There Is No Antimemetics Division

https://www.stephendiehl.com/posts/no_antimimetics/
177•ibobev•8h ago•125 comments

Battle for Wesnoth: open-source, turn-based strategy game

https://www.wesnoth.org
335•akyuu•4h ago•84 comments

Show HN: Tusk for macOS and Gnome

https://shapemachine.xyz/tusk/
17•factorialboy•2d ago•2 comments

The cult of vibe coding is dogfooding run amok

https://bramcohen.com/p/the-cult-of-vibe-coding-is-insane
417•drob518•3h ago•344 comments

Sky – an Elm-inspired language that compiles to Go

https://github.com/anzellai/sky
109•whalesalad•6h ago•37 comments

Agent Reading Test

https://agentreadingtest.com
33•kaycebasques•3h ago•8 comments

Show HN: TTF-DOOM – A raycaster running inside TrueType font hinting

https://github.com/4RH1T3CT0R7/ttf-doom
6•4RH1T3CT0R•2h ago•2 comments

Root Persistence via macOS Recovery Mode Safari

https://yaseenghanem.com/recovery-unrestricted-write-access/
16•yaseeng•1h ago•10 comments

The Last Quiet Thing

https://www.terrygodier.com/the-last-quiet-thing
116•coinfused•2d ago•78 comments

Eighteen Years of Greytrapping – Is the Weirdness Finally Paying Off?

https://nxdomain.no/~peter/eighteen_years_of_greytrapping.html
40•jruohonen•2d ago•3 comments

Show HN: Docking – extensible Linux dock in Python

https://docking.cc
13•edumucelli•2d ago•4 comments

A macOS bug that causes TCP networking to stop working after 49.7 days

https://photon.codes/blog/we-found-a-ticking-time-bomb-in-macos-tcp-networking
94•RyanZhuuuu•1h ago•62 comments

AI singer now occupies eleven spots on iTunes singles chart

https://www.showbiz411.com/2026/04/05/itunes-takeover-by-fake-ai-singer-eddie-dalton-now-occupies...
54•flinner•6h ago•70 comments

NYC Families Need over $125,000 in Income to Live in Any Borough

https://www.bloomberg.com/news/articles/2026-04-06/nyc-families-need-over-125-000-in-income-to-li...
16•boh•43m ago•7 comments

Adobe modifies hosts file to detect whether Creative Cloud is installed

https://www.osnews.com/story/144737/adobe-secretly-modifies-your-hosts-file-for-the-stupidest-rea...
188•rglullis•4h ago•89 comments

SOM: A minimal Smalltalk for teaching of and research on Virtual Machines

http://som-st.github.io/
11•tosh•3h ago•0 comments

Zooming UIs in 2026: Prezi, impress.js, and why I built something different

60•tinchox6•3h ago•32 comments

Reducto releases Deep Extract

https://reducto.ai/blog/reducto-deep-extract-agent
40•raunakchowdhuri•6h ago•5 comments

I won't download your app. The web version is a-ok

https://www.0xsid.com/blog/wont-download-your-app
777•ssiddharth•7h ago•458 comments