frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Right-Truncatable Prime Counter

https://github.com/EbodShojaei/Right-Truncatable-Primes
9•rainmans•1y ago

Comments

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

Separating signal from noise in coding evaluations

https://openai.com/index/separating-signal-from-noise-coding-evaluations/
86•sk4rekr0w•1h ago•39 comments

FAANG Simulator

https://www.abeyk.com/escape-the-rat-race/
97•nerdbiscuits•2h ago•36 comments

Chatto is now open source

https://www.hmans.dev/blog/chatto-is-open-source
607•speckx•7h ago•172 comments

Grok 4.5

https://x.ai/news/grok-4-5
374•BoumTAC•4h ago•284 comments

Decoding the obfuscated bash script on a Uniqlo t-shirt

https://tris.sherliker.net/blog/obfuscated-self-evaluating-bash-script-by-cdn-akamai-being-suppli...
1231•speerer•13h ago•198 comments

Mistral's Robostral Navigate: a state of the art robotics navigation model

https://mistral.ai/news/robostral-navigate/
370•ottomengis•8h ago•88 comments

Show HN: Microsoft releases Flint, a visualization language for AI agents

https://microsoft.github.io/flint-chart/#/
135•chenglong-hn•4h ago•59 comments

Cloudflare Drop

https://www.cloudflare.com/drop/
125•coloneltcb•3h ago•71 comments

Turning a pile of documents into a searchable useable knowledge base

https://github.com/linuxrebel/DocuBrowser
30•linuxrebe1•1h ago•6 comments

GPT‑Live

https://openai.com/index/introducing-gpt-live/
529•logickkk1•5h ago•364 comments

DKIM2 and DMARCbis Have Landed

https://stalw.art/blog/dkim2-dmarcbis/
31•StalwartLabs•2d ago•16 comments

OpenMandriva: Statement regarding attempted distribution sabotage

https://forum.openmandriva.org/t/statement-regarding-attempted-distribution-sabotage/8997
58•workethics•4h ago•9 comments

A bug which affected only left handed users

https://shkspr.mobi/blog/2026/07/a-bug-which-only-affected-left-handed-users/
54•sixhobbits•9h ago•29 comments

The classifiers Anthropic puts in front of Fable are too zealous

https://combine-lab.github.io/blog/2026/07/07/fable-is-not-a-useful-model.html
152•karrot-kake•1h ago•138 comments

Show HN: Onboard-CLI, a LLM powered and AST-based tool to visualize codebase

https://github.com/animesh-94/Onboard-CLI
14•yr_animesh•2h ago•2 comments

SWE-1.7 Reach Near GPT 5.5 and Opus Intelligence

https://cognition.com/blog/swe-1-7
234•mekpro•6h ago•120 comments

OpenBSD has a use-after-free allowing local privilege escalation to root

https://nvd.nist.gov/vuln/detail/cve-2026-57589
232•linggen•8h ago•109 comments

I Built a Telegram Client for Pi

https://www.npmjs.com/package/@atharva-again/pi-tg
35•atharva-again•2d ago•19 comments

EU now one step away from reviving private message scanning rules

https://cyberinsider.com/eu-now-one-step-away-from-reviving-private-message-scanning-rules/
304•ggirelli•5h ago•123 comments

Cloudflare Meerkat - Globally distributed consensus

https://blog.cloudflare.com/meerkat-introduction/
192•bobnamob•9h ago•42 comments

Understanding B-Tree Indexes in PostgreSQL: A Comprehensive Guide– Part 1

https://medium.com/@devli0/b-tree-indexes-in-postgresql-part-1-theory-eb2668c52520
32•corvus-cornix•3d ago•1 comments

Agentic test processes, LLM benchmarks, and other notes on agentic coding fr

https://danluu.com/ai-coding/#llm-variance
10•lifeisstillgood•2h ago•1 comments

Show HN: Agent Draw: An agent draws while you talk, built on TLDraw

https://techstackups.com/articles/tldraw-agent-draw/
25•jameswhitford•2d ago•2 comments

Almost Always Unsigned

https://graphitemaster.github.io/aau/
14•gavide•2h ago•4 comments

TypeScript 7

https://devblogs.microsoft.com/typescript/announcing-typescript-7-0/
387•DanRosenwasser•6h ago•144 comments

EVE Online's Carbon engine is now open source: Fenris Creations explains why

https://www.gamesindustry.biz/eve-onlines-carbon-engine-is-now-open-source-fenris-creations-expla...
367•Stevvo•5d ago•121 comments

TabFont – guitar tabs rendered as you type

https://philatype.com/tabfont/
75•ChrisArchitect•3d ago•21 comments

Show HN: Follow London Trains in 3D

https://ride.nexttrain.london/
120•mgranados•4d ago•54 comments

PlayStation can delete all your digital games after 3 years of inactivity (EU)

https://www.flatpanelshd.com/news.php?subaction=showfull&id=1783340582
190•thewebguyd•4h ago•86 comments

What Do We Know About the Microplastics Inside Us?

https://e360.yale.edu/features/cassandra-rauert-interview
161•speckx•4h ago•87 comments