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

Comments

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

WebMCP is available for early preview

https://developer.chrome.com/blog/webmcp-epp
165•andsoitis•5h ago•92 comments

Show HN: Timber – Ollama for classical ML models, 336x faster than Python

https://github.com/kossisoroyce/timber
31•kossisoroyce•2h ago•1 comments

Ghostty – Terminal Emulator

https://ghostty.org/docs
636•oli5679•15h ago•281 comments

Little Free Library

https://littlefreelibrary.org/
67•TigerUniversity•4h ago•20 comments

Tove Jansson's criticized illustrations of The Hobbit

https://tovejansson.com/hobbit-tolkien/
106•abelanger•2d ago•40 comments

How Next-Gen Spacecraft Are Overwhelming Our Communication Networks

https://atempleton.bearblog.dev/how-next-gen-spacecraft-are-overwhelming-our-communication-networks/
36•korrz•2d ago•7 comments

When does MCP make sense vs CLI?

https://ejholmes.github.io/2026/02/28/mcp-is-dead-long-live-the-cli.html
284•ejholmes•10h ago•193 comments

Microgpt explained interactively

https://growingswe.com/blog/microgpt
214•growingswe•17h ago•32 comments

Neural Guitar Pedal – Optimizing NAM for Daisy Seed Arm Cortex-M7

https://www.tone3000.com/blog/running-nam-on-embedded-hardware
9•woodybury•2d ago•2 comments

What Your DNA Reveals about the Sex Life of Neanderthals

https://www.nytimes.com/2026/02/26/science/human-evolution-neanderthal-sex.html
27•Hooke•3d ago•15 comments

Decision trees – the unreasonable power of nested decision rules

https://mlu-explain.github.io/decision-tree/
413•mschnell•18h ago•72 comments

Long Range E-Bike (2021)

https://jacquesmattheij.com/long-range-ebike/
126•birdculture•3d ago•185 comments

Show HN: Vibe Code your 3D Models

https://github.com/ierror/synaps-cad
19•burrnii•2d ago•3 comments

Chorba: A novel CRC32 implementation (2024)

https://arxiv.org/abs/2412.16398
50•fnands•2d ago•15 comments

Setting up phones is a nightmare

https://joelchrono.xyz/blog/setting-up-phones-is-a-nightmare/
119•bariumbitmap•3d ago•138 comments

Flightradar24 for Ships

https://atlas.flexport.com/
198•chromy•16h ago•43 comments

Microgpt

http://karpathy.github.io/2026/02/12/microgpt/
1716•tambourine_man•1d ago•296 comments

Right-sizes LLM models to your system's RAM, CPU, and GPU

https://github.com/AlexsJones/llmfit
13•bilsbie•4h ago•0 comments

I built a demo of what AI chat will look like when it's "free" and ad-supported

https://99helpers.com/tools/ad-supported-chat
484•nickk81•15h ago•272 comments

Allegations of insider trading over prediction-market bets tied to Iran conflict

https://www.morningstar.com/news/marketwatch/20260301140/allegations-of-insider-trading-over-pred...
69•paulpauper•4h ago•37 comments

Programming in K

https://github.com/JohnEarnest/ok/blob/gh-pages/docs/Programming.md
50•tosh•3d ago•9 comments

Why XML tags are so fundamental to Claude

https://glthr.com/XML-fundamental-to-Claude
173•glth•12h ago•119 comments

Interview with Øyvind Kolås, GIMP developer (2017)

https://www.gimp.org/news/2026/02/22/%C3%B8yvind-kol%C3%A5s-interview-ww2017/
127•ibobev•3d ago•56 comments

South Korean Police Lose Seized Crypto by Posting Password Online

https://gizmodo.com/south-korean-police-lose-seized-crypto-by-posting-password-online-2000728191
69•WarOnPrivacy•5h ago•14 comments

Claude hits #1 on the App Store as users rally behind Anthropic

https://9to5mac.com/2026/03/01/claude-hits-1-on-the-app-store-as-users-rally-behind-anthropics-go...
15•doctoboggan•53m ago•4 comments

10-202: Introduction to Modern AI (CMU)

https://modernaicourse.org
233•vismit2000•19h ago•53 comments

We will sacrifice quality for convenience

https://twitter.com/backnotprop/status/2028293637373841759
7•ramoz•58m ago•0 comments

Operational issue – Multiple services (UAE)

https://health.aws.amazon.com/health/status
171•earthboundkid•7h ago•76 comments

Show HN: Audio Toolkit for Agents

https://github.com/shiehn/sas-audio-processor
53•stevehiehn•11h ago•8 comments

Show HN: Logira – eBPF runtime auditing for AI agent runs

https://github.com/melonattacker/logira
5•melonattacker•3h ago•0 comments