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.

Solod – A Subset of Go That Translates to C

https://github.com/solod-dev/solod
62•TheWiggles•3h ago•14 comments

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

https://github.com/matthartman/ghost-pepper
289•MattHart88•8h ago•128 comments

Launch HN: Freestyle – Sandboxes for Coding Agents

https://www.freestyle.sh/
231•benswerd•12h ago•125 comments

A cryptography engineer's perspective on quantum computing timelines

https://words.filippo.io/crqc-timeline/
387•thadt•13h ago•156 comments

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

https://github.com/anthropics/claude-code/issues/42796
853•StanAngeloff•14h ago•506 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/
273•Bender•14h ago•138 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
1068•adrianhon•18h ago•423 comments

VOID: Video Object and Interaction Deletion

https://github.com/Netflix/void-model
109•bobsoap•3d ago•34 comments

Show HN: GovAuctions lets you browse government auctions at once

https://www.govauctions.app/
250•player_piano•12h ago•70 comments

Anthropic expands partnership with Google and Broadcom for next-gen compute

https://www.anthropic.com/news/google-broadcom-partnership-compute
190•l1n•6h ago•89 comments

Show HN: Hippo, biologically inspired memory for AI agents

https://github.com/kitfunso/hippo-memory
66•kitfunso•6h ago•15 comments

What being ripped off taught me

https://belief.horse/notes/what-being-ripped-off-taught-me/
356•doctorhandshake•15h ago•189 comments

Show HN: Anos – a hand-written ~100KiB microkernel for x86-64 and RISC-V

https://github.com/roscopeco/anos
37•noone_youknow•2d ago•8 comments

What happens when a destructor throws

https://www.sandordargo.com/blog/2026/04/01/when-a-destructor-throws
18•jandeboevrie•4d ago•12 comments

Graph-go – zero config, full visibility

https://github.com/guilherme-grimm/graph-go
9•devGrimm•3d ago•1 comments

Book review: There Is No Antimemetics Division

https://www.stephendiehl.com/posts/no_antimimetics/
220•ibobev•14h ago•164 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...
122•flinner•12h ago•181 comments

Sky – an Elm-inspired language that compiles to Go

https://github.com/anzellai/sky
145•whalesalad•13h ago•52 comments

Show HN: Tusk for macOS and Gnome

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

HackerRank (YC S11) Is Hiring

1•rvivek•7h ago

The Last Quiet Thing

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

Linux extreme performance H1 load generator

https://www.gcannon.org/
4•MDA2AV•2d ago•0 comments

After 20 years I turned off Google Adsense for my websites (2025)

https://blog.ericgoldman.org/archives/2025/06/after-20-years-i-turned-off-google-adsense-for-my-w...
145•datadrivenangel•5h ago•100 comments

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

https://www.wesnoth.org
425•akyuu•11h ago•120 comments

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

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

The cult of vibe coding is dogfooding run amok

https://bramcohen.com/p/the-cult-of-vibe-coding-is-insane
498•drob518•10h ago•435 comments

Agent Reading Test

https://agentreadingtest.com
56•kaycebasques•9h ago•16 comments

Dear Heroku: Uhh What's Going On?

https://judoscale.com/blog/heroku-whats-going-on
9•crcastle•2h ago•0 comments

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

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

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

http://som-st.github.io/
40•tosh•9h ago•0 comments