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.

Apple Business

https://www.apple.com/newsroom/2026/03/introducing-apple-business-a-new-all-in-one-platform-for-b...
424•soheilpro•7h ago•273 comments

I wanted to build vertical SaaS for pest control, so I took a technician job

https://www.onhand.pro/p/i-wanted-to-build-vertical-saas-for-pest-control-i-took-a-technician-job...
42•tezclarke•1h ago•17 comments

Tell HN: Litellm 1.82.7 and 1.82.8 on PyPI are compromised

https://github.com/BerriAI/litellm/issues/24512
374•dot_treo•10h ago•345 comments

Welcome to FastMCP

https://gofastmcp.com/getting-started/welcome
58•Anon84•2h ago•39 comments

Wine 11 rewrites how Linux runs Windows games at kernel with massive speed gains

https://www.xda-developers.com/wine-11-rewrites-linux-runs-windows-games-speed-gains/
463•felineflock•3h ago•163 comments

Hypura – A storage-tier-aware LLM inference scheduler for Apple Silicon

https://github.com/t8/hypura
174•tatef•6h ago•73 comments

Arm AGI CPU

https://newsroom.arm.com/blog/introducing-arm-agi-cpu
221•RealityVoid•5h ago•176 comments

Show HN: Email.md – Markdown to responsive, email-safe HTML

https://www.emailmd.dev/
159•dancablam•6h ago•41 comments

How the world’s first electric grid was built

https://worksinprogress.co/issue/how-the-worlds-first-electric-grid-was-built/
32•zdw•4d ago•4 comments

Show HN: I took back Video.js after 16 years and we rewrote it to be 88% smaller

https://videojs.org/blog/videojs-v10-beta-hello-world-again
11•Heff•4h ago•1 comments

Hypothesis, Antithesis, synthesis

https://antithesis.com/blog/2026/hegel/
168•alpaylan•7h ago•71 comments

Disney Exits OpenAI Deal After AI Giant Shutters Sora

https://www.hollywoodreporter.com/business/digital/openai-shutting-down-sora-ai-video-app-1236546...
83•timpera•1h ago•17 comments

Show HN: Gemini can now natively embed video, so I built sub-second video search

https://github.com/ssrajadh/sentrysearch
196•sohamrj•7h ago•60 comments

GitHub is once again down

https://www.githubstatus.com/incidents/kp06czybl7dw
268•MattIPv4•2h ago•138 comments

Lago (YC S21) Is Hiring

https://getlago.notion.site/Lago-Product-Engineer-AI-Agents-for-Growth-327ef63110d280cdb030ccf429...
1•AnhTho_FR•4h ago

ARM AGI CPU: Specs and SKUs

https://sbcwiki.com/docs/soc-manufacturers/arm/arm-silicon/
83•HeyMeco•4h ago•24 comments

Show HN: Gridland: make terminal apps that also run in the browser

https://www.gridland.io/
51•rothific•5h ago•2 comments

Epic Games to cut more than 1k jobs as Fortnite usage falls

https://www.reuters.com/legal/litigation/epic-games-said-tuesday-that-it-will-lay-off-more-than-1...
192•doughnutstracks•7h ago•329 comments

Is anybody else bored of talking about AI?

https://blog.jakesaunders.dev/is-anybody-else-bored-of-talking-about-ai/
342•jakelsaunders94•2h ago•268 comments

No Terms. No Conditions

https://notermsnoconditions.com
203•bayneri•6h ago•87 comments

Missile defense is NP-complete

https://smu160.github.io/posts/missile-defense-is-np-complete/
221•O3marchnative•9h ago•254 comments

purl: a curl-esque CLI for making HTTP requests that require payment

https://www.purl.dev/
36•bpierre•3d ago•12 comments

Data Manipulation in Clojure Compared to R and Python

https://codewithkira.com/2024-07-18-tablecloth-dplyr-pandas-polars.html
75•tosh•2d ago•15 comments

LaGuardia pilots raised safety alarms months before deadly runway crash

https://www.theguardian.com/us-news/2026/mar/24/laguardia-airplane-pilots-safety-concerns-crash
310•m_fayer•7h ago•246 comments

Nanobrew: The fastest macOS package manager compatible with brew

https://nanobrew.trilok.ai/
153•syrusakbary•10h ago•95 comments

Mystery jump in oil trading ahead of Trump post draws scrutiny

https://www.bbc.com/news/articles/cg547ljepvzo
394•psim1•7h ago•241 comments

WolfGuard: WireGuard with FIPS 140-3 cryptography

https://github.com/wolfssl/wolfguard
73•789c789c789c•6h ago•55 comments

Ripgrep is faster than grep, ag, git grep, ucg, pt, sift (2016)

https://burntsushi.net/ripgrep/
310•jxmorris12•16h ago•132 comments

Show HN: Antimatter – Match the opposites (Mahjong solitaire mechanic)

https://www.linguabase.org/antimatter/
8•michaeld123•2h ago•2 comments

Show HN: ProofShot – Give AI coding agents eyes to verify the UI they build

https://github.com/AmElmo/proofshot
103•jberthom•14h ago•69 comments