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.

Flighty Airports

https://flighty.com/airports
198•skogstokig•4h ago•64 comments

Goodbye to Sora

https://twitter.com/soraofficialapp/status/2036532795984715896
537•mikeocool•9h ago•405 comments

VitruvianOS – Desktop Linux Inspired by the BeOS

https://v-os.dev
33•felixding•2h ago•10 comments

Show HN: DuckDB community extension for prefiltered HNSW using ACORN-1

https://github.com/cigrainger/duckdb-hnsw-acorn
22•cigrainger•1h ago•1 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
288•Heff•11h ago•52 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...
240•tezclarke•8h ago•110 comments

Apple Business

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

Tell HN: Litellm 1.82.7 and 1.82.8 on PyPI are compromised

https://github.com/BerriAI/litellm/issues/24512
574•dot_treo•17h ago•399 comments

Arm AGI CPU

https://newsroom.arm.com/blog/introducing-arm-agi-cpu
309•RealityVoid•11h ago•235 comments

Why did the chicken cross the road?

https://taylor.town/other-side
8•surprisetalk•16h ago•0 comments

Intel Device Modeling Language for virtual platforms

https://github.com/intel/device-modeling-language
14•transpute•3d ago•0 comments

Meta ordered to pay $375M in New Mexico trial over child exploitation

https://www.reuters.com/sustainability/boards-policy-regulation/jury-orders-meta-pay-375-mln-new-...
31•gostsamo•1h ago•4 comments

Algorithm Visualizer

https://algorithm-visualizer.org/
52•vinhnx•4d ago•3 comments

An Aural Companion for Decades, CBS News Radio Crackles to a Close

https://www.nytimes.com/2026/03/21/business/media/cbs-news-radio-appraisal.html
44•tintinnabula•3d ago•8 comments

A Compiler Writing Journey

https://github.com/DoctorWkt/acwj
53•ibobev•5h ago•4 comments

You can run a DNS server (2025)

https://simonsafar.com/2025/running_dns/
20•surprisetalk•4d ago•9 comments

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

https://www.emailmd.dev/
248•dancablam•12h ago•58 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/
782•felineflock•10h ago•265 comments

Miscellanea: The War in Iran

https://acoup.blog/2026/03/25/miscellanea-the-war-in-iran/
5•decimalenough•57m ago•0 comments

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

https://github.com/t8/hypura
196•tatef•13h ago•75 comments

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

https://github.com/ssrajadh/sentrysearch
289•sohamrj•14h ago•81 comments

What happened to GEM?

https://dfarq.homeip.net/whatever-happened-to-gem/
61•naves•4d ago•29 comments

Fun with CSF firmware (RK3588 GPU firmware)

https://icecream95.gitlab.io/fun-with-csf-firmware.html
3•M95D•3d ago•0 comments

Hypothesis, Antithesis, synthesis

https://antithesis.com/blog/2026/hegel/
229•alpaylan•13h ago•82 comments

In Edison’s Revenge, Data Centers Are Transitioning From AC to DC

https://spectrum.ieee.org/data-center-dc
115•jnord•4h ago•140 comments

Show HN: AI Roundtable – Let 200 models debate your question

https://opper.ai/ai-roundtable/
31•felix089•10h ago•32 comments

How the world’s first electric grid was built

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

Missile defense is NP-complete

https://smu160.github.io/posts/missile-defense-is-np-complete/
291•O3marchnative•16h ago•297 comments

Lago (YC S21) Is Hiring

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

Epoch confirms GPT5.4 Pro solved a frontier math open problem

https://epoch.ai/frontiermath/open-problems/ramsey-hypergraphs
436•in-silico•1d ago•637 comments