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.

Codex for almost everything

https://openai.com/index/codex-for-almost-everything/
582•mikeevans•5h ago•314 comments

Claude Opus 4.7

https://www.anthropic.com/news/claude-opus-4-7
1300•meetpateltech•8h ago•954 comments

Guy builds AI driven hardware hacker arm from duct tape, old cam and CNC machine

https://github.com/gainsec/autoprober
28•scaredpelican•41m ago•2 comments

A Better R Programming Experience Thanks to Tree-sitter

https://ropensci.org/blog/2026/04/02/tree-sitter-overview/
32•sebg•1h ago•0 comments

Android CLI: Build Android apps 3x faster using any agent

https://android-developers.googleblog.com/2026/04/build-android-apps-3x-faster-using-any-agent.html
60•ingve•3h ago•16 comments

Official Clojure Documentary page with Video, Shownotes, and Links

https://clojure.org/about/documentary
42•adityaathalye•3h ago•5 comments

Show HN: Marky – A lightweight Markdown viewer for agentic coding

https://github.com/GRVYDEV/marky
15•GRVYDEV•6h ago•5 comments

Qwen3.6-35B-A3B: Agentic coding power, now open to all

https://qwen.ai/blog?id=qwen3.6-35b-a3b
824•cmitsakis•9h ago•386 comments

Join Akkari's Founding Team (YC P26) as an Engineer

1•michael_moore•1h ago

Qwen3.6-35B-A3B on my laptop drew me a better pelican than Claude Opus 4.7

https://simonwillison.net/2026/Apr/16/qwen-beats-opus/
225•simonw•5h ago•56 comments

Cloudflare's AI Platform: an inference layer designed for agents

https://blog.cloudflare.com/ai-platform/
219•nikitoci•9h ago•55 comments

Launch HN: Kampala (YC W26) – Reverse-Engineer Apps into APIs

https://www.zatanna.ai/kampala
61•alexblackwell_•7h ago•59 comments

The future of everything is lies, I guess: Where do we go from here?

https://aphyr.com/posts/420-the-future-of-everything-is-lies-i-guess-where-do-we-go-from-here
453•aphyr•9h ago•479 comments

IBM AP-101 general-purpose computer [pdf]

https://gandalfddi.z19.web.core.windows.net/Shuttle/IBM%20AP-101S%20General%20Purpose%20Computer%...
9•__patchbit__•3d ago•1 comments

A Tiny Yellow Handheld Changed How Duke University Teaches Game Design

https://news.play.date/news/duke-playdate-education/
20•Ivoah•3h ago•6 comments

Artifacts: Versioned storage that speaks Git

https://blog.cloudflare.com/artifacts-git-for-agents-beta/
132•jgrahamc•9h ago•9 comments

Circuit Transformations, Loop Fusion, and Inductive Proof

https://natetyoung.github.io/carry_save_fusion/
13•matt_d•3d ago•1 comments

Show HN: CodeBurn – Analyze Claude Code token usage by task

https://github.com/AgentSeal/codeburn
65•agentseal•2d ago•13 comments

GPT‑Rosalind for life sciences research

https://openai.com/index/introducing-gpt-rosalind/
30•babelfish•3h ago•4 comments

Show HN: MacMind – A transformer neural network in HyperCard on a 1989 Macintosh

https://github.com/SeanFDZ/macmind
104•hammer32•9h ago•30 comments

Six Characters

https://ajitem.com/blog/iron-core-part-2-six-characters/
77•Airplanepasta•3d ago•13 comments

Codex Hacked a Samsung TV

https://blog.calif.io/p/codex-hacked-a-samsung-tv
191•campuscodi•11h ago•108 comments

European civil servants are being forced off WhatsApp

https://www.politico.eu/article/european-civil-servants-new-messaging-services/
65•aa_is_op•2h ago•41 comments

Cloudflare Email Service

https://blog.cloudflare.com/email-for-agents/
380•jilles•9h ago•174 comments

AI cybersecurity is not proof of work

https://antirez.com/news/163
183•surprisetalk•11h ago•78 comments

PHP 8.6 Closure Optimizations

https://wiki.php.net/rfc/closure-optimizations
101•moebrowne•2d ago•27 comments

Japan implements language proficiency requirements for certain visa applicants

https://www.japantimes.co.jp/news/2026/04/15/japan/society/jlpt-visa-requirement/
112•mikhael•5h ago•75 comments

U.S. to Create High-Tech Manufacturing Zone in Philippines

https://www.wsj.com/world/asia/u-s-to-create-high-tech-manufacturing-zone-in-philippines-017c1668
5•dcgudeman•20m ago•1 comments

Sir-Bench – benchmark for security incident response agents

https://arxiv.org/abs/2604.12040
6•dan_l2•2h ago•2 comments

RedSun: System user access on Win 11/10 and Server with the April 2026 Update

https://github.com/Nightmare-Eclipse/RedSun
167•airhangerf15•18h ago•49 comments