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.

Leanstral: Open-Source foundation for trustworthy vibe-coding

https://mistral.ai/news/leanstral
220•Poudlardo•2h ago•36 comments

Meta’s renewed commitment to jemalloc

https://engineering.fb.com/2026/03/02/data-infrastructure/investing-in-infrastructure-metas-renew...
303•hahahacorn•5h ago•127 comments

The “small web” is bigger than you might think

https://kevinboone.me/small_web_is_big.html
276•speckx•6h ago•121 comments

US commercial insurers pay 254% of Medicare for the same hospital procedures

https://github.com/rexrodeo/american-healthcare-conundrum
101•rexroad•6h ago•53 comments

My Journey to a reliable and enjoyable locally hosted voice assistant (2025)

https://community.home-assistant.io/t/my-journey-to-a-reliable-and-enjoyable-locally-hosted-voice...
297•Vaslo•10h ago•92 comments

Show HN: Oxyde – Pydantic-native async ORM with a Rust core

https://github.com/mr-fatalyst/oxyde
34•mr_Fatalyst•3d ago•20 comments

Why I love FreeBSD

https://it-notes.dragas.net/2026/03/16/why-i-love-freebsd/
320•enz•12h ago•149 comments

Language Model Teams as Distrbuted Systems

https://arxiv.org/abs/2603.12229
61•jryio•6h ago•23 comments

Starlink Mini as a failover

https://www.jackpearce.co.uk/posts/starlink-failover/
167•jkpe•15h ago•146 comments

Launch HN: Voygr (YC W26) – A better maps API for agents and AI apps

58•ymarkov•7h ago•36 comments

AnswerThis (YC F25) Is Hiring

https://www.ycombinator.com/companies/answerthis/jobs/CNdatw5-founding-engineering-lead
1•ayush4921•2h ago

Polymarket gamblers threaten to kill me over Iran missile story

https://www.timesofisrael.com/gamblers-trying-to-win-a-bet-on-polymarket-are-vowing-to-kill-me-if...
1253•defly•11h ago•837 comments

Show HN: Thermal Receipt Printers – Markdown and Web UI

https://github.com/sadreck/ThermalMarky
7•howlett•3d ago•1 comments

Apideck CLI – An AI-agent interface with much lower context consumption than MCP

https://www.apideck.com/blog/mcp-server-eating-context-window-cli-alternative
112•gertjandewilde•8h ago•103 comments

Nvidia Launches Vera CPU, Purpose-Built for Agentic AI

https://nvidianews.nvidia.com/news/nvidia-launches-vera-cpu-purpose-built-for-agentic-ai
100•lewismenelaws•3h ago•65 comments

Show HN: Claude Code skills that build complete Godot games

https://github.com/htdt/godogen
126•htdt•7h ago•73 comments

On The Need For Understanding

https://blog.information-superhighway.net/on-the-need-for-understanding
66•zdw•4d ago•28 comments

AirPods Max 2

https://www.apple.com/airpods-max/
173•ssijak•10h ago•333 comments

Home Assistant waters my plants

https://finnian.io/blog/home-assistant-waters-my-plants/
241•finniananderson•4d ago•125 comments

Corruption erodes social trust more in democracies than in autocracies

https://www.frontiersin.org/journals/political-science/articles/10.3389/fpos.2026.1779810/full
626•PaulHoule•12h ago•322 comments

The bureaucracy blocking the chance at a cure

https://www.writingruxandrabio.com/p/the-bureaucracy-blocking-the-chance
78•item•1d ago•108 comments

Lies I was told about collaborative editing, Part 2: Why we don't use Yjs

https://www.moment.dev/blog/lies-i-was-told-pt-2
187•antics•3d ago•95 comments

Kona EV Hacking

http://techno-fandom.org/~hobbit/cars/ev/
112•AnnikaL•5d ago•64 comments

Cert Authorities Check for DNSSEC from Today

https://www.grepular.com/Cert_Authorities_Check_for_DNSSEC_From_Today
78•zdw•1d ago•179 comments

Lazycut: A simple terminal video trimmer using FFmpeg

https://github.com/emin-ozata/lazycut
138•masterpos•11h ago•45 comments

US Job Market Visualizer

https://karpathy.ai/jobs/
381•andygcook•8h ago•305 comments

MoD sources warn Palantir role at heart of government is threat to UK security

https://www.thenerve.news/p/palantir-technologies-uk-mod-sources-government-data-insights-securit...
571•vrganj•11h ago•231 comments

Comparing Python Type Checkers: Typing Spec Conformance

https://pyrefly.org/blog/typing-conformance-comparison/
88•ocamoss•11h ago•33 comments

Launch HN: Chamber (YC W26) – An AI Teammate for GPU Infrastructure

https://www.usechamber.io/
19•jshen96•6h ago•5 comments

Speed at the cost of quality: Study of use of Cursor AI in open source projects (2025)

https://arxiv.org/abs/2511.04427
91•wek•6h ago•45 comments