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•1y ago

Comments

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

SQLite is all you need for durable workflows

https://obeli.sk/blog/sqlite-is-all-you-need-for-durable-workflows/
294•tomasol•5h ago•178 comments

The dead economy theory

https://www.owenmcgrann.com/p/the-dead-economy-theory
593•WillDaSilva•7h ago•781 comments

You can just say it

https://noperator.dev/posts/you-can-just-say-it/
62•antirez•7h ago•7 comments

Notes from the Mistral AI Now Summit

https://koenvangilst.nl/lab/mistral-ai-now-summit
297•vnglst•7h ago•101 comments

MCP Is Dead

https://www.quandri.io/engineering-blog/mcp-is-dead
35•nadis•39m ago•23 comments

Shift will clean homes for free to train future robots

https://www.theverge.com/ai-artificial-intelligence/939765/ai-training-data-startup-shift-free-cl...
60•evilsimon•4h ago•84 comments

Show HN: Tiny-vLLM – high performance LLM inference engine in C++ and CUDA

https://github.com/jmaczan/tiny-vllm
63•yu3zhou4•3h ago•7 comments

Print with dozens of colors: Our new open-source ColorMix for PrusaSlicer

https://blog.prusa3d.com/our-new-open-source-colormix-model-in-prusaslicer-and-easyprint_136079/
35•rented_mule•3d ago•1 comments

It's hard to justify buying a Framework 12

https://www.jeffgeerling.com/blog/2026/its-hard-to-justify-framework-12/
190•watermelon0•8h ago•348 comments

Bijou64: A variable-length integer encoding

https://www.inkandswitch.com/tangents/bijou64/
197•justinweiss•8h ago•71 comments

On Rendering Diffs

https://pierre.computer/writing/on-rendering-diffs
129•amadeus•4h ago•31 comments

Liquid AI reveals 8B-A1B MoE trained on 38T

https://www.liquid.ai/blog/lfm2-5-8b-a1b
135•simjnd•7h ago•40 comments

The California state assembly has passed the 'Protect Our Games Act'

https://www.invenglobal.com/articles/22330/stop-killing-games-movement-gains-momentum-california-...
157•TechTechTech•3h ago•158 comments

Free full BGP feed. IPv4 and IPv6

https://lukasz.bromirski.net/post/bgp-w-labie-3/
11•pm2222•1h ago•2 comments

Is AI causing a repeat of frontend’s lost decade?

https://mastrojs.github.io/blog/2026-05-23-is-AI-causing-a-repeat-of-frontends-lost-decade/
270•xyzal•12h ago•232 comments

Rothko for your current weather conditions

https://rothko.joonas.wtf/
111•jxmorris12•5h ago•11 comments

GTA 6 Developers Unionize

https://rockstarintel.com/gta-6-developers-announce-rockstar-games-union/
532•AndrewKemendo•8h ago•362 comments

Letter from the Duke of Wellington to the British Foreign Office (1809)

https://wellsoc.org/society-member-pages/anecdotes-of-wellington/
46•backuprestore•5h ago•12 comments

Show HN: Zot – Yet another coding agent harness

https://www.zot.sh
52•patriceckhart•17h ago•59 comments

Show HN: TV Explorer. Adding advanced UI to free online TV

https://tvexplorer.live
91•dtagames•6h ago•20 comments

Citing 'severe' math deficits, UC faculty demand a return to SAT tests for STEM

https://www.latimes.com/california/story/2026-05-27/uc-math-professors-demand-return-of-sat-for-s...
428•brandonb•1d ago•646 comments

Why I collect DLES

https://dles.gg/blog/dles-gg-manifesto
20•trizoza•2h ago•5 comments

The mysterious Hy3 LLM is topping OpenRouter Model Rankings by a large margin

https://minimaxir.com/2026/05/openrouter-hy3/
97•freediver•23h ago•93 comments

Finding Miscompiles for Fun, Not Profit

https://newsletter.semianalysis.com/p/finding-miscompiles-for-fun-not-profit
8•tmoertel•1d ago•0 comments

CAPTCHAs can still detect AI agents

https://research.roundtable.ai/captchas-detect-ai/
57•timshell•7h ago•47 comments

Microsoft 0-day feud escalates as researcher threatens another exploit dump

https://www.theregister.com/security/2026/05/28/microsoft-0-day-feud-escalates-as-researcher-thre...
135•Cider9986•3h ago•35 comments

Show HN: Free activity calendar for schools, sports clubs, and organizations

https://freecal.eu/?lang=en
3•glenn_vc•52m ago•2 comments

The Last Technical Interview

https://steve-yegge.medium.com/the-last-technical-interview-bc13ddcf4564
26•headalgorithm•3h ago•5 comments

Cedana (YC S23) Is Hiring

https://www.ycombinator.com/companies/cedana/jobs/d1vYocG-forward-deployed-engineer-ai-hpc
1•neelm•11h ago

We should be more tired than the model

https://vickiboykis.com/2026/05/28/we-should-be-more-tired-than-the-model/
142•tosh•11h ago•128 comments