frontpage.
newsnewestaskshowjobs

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.

Mario Meets Pareto

https://www.mayerowitz.io/blog/mario-meets-pareto
692•theanonymousone•7h ago•134 comments

Launch HN: ProvenMetal (YC S26) delivers circuit boards in days instead of weeks

https://provenmetal.com
114•willcarkner•3h ago•83 comments

My phone detects going on a run as "someone snatching my phone and running off"

https://mastodon.gamedev.place/@rygorous/117047697255584965
25•luu•46m ago•32 comments

Almost no skill required to cook a steak

https://blog.sydorets.com/en/posts/almost-no-skill-required-to-cook-a-steak/
135•yusyd•3h ago•171 comments

Qwen3.8 Max now ranked as the best overall model by agentic index

https://artificialanalysis.ai/?intelligence=agentic-index
5•apitman•27m ago•0 comments

Crime Pays but Botany Doesn't

https://www.crimepaysbutbotanydoesnt.com/reading-list
566•DarkContinent•14h ago•177 comments

How to Make a Nintendo 64 Game in 2026

https://phoboslab.org/log/2026/08/xibalba64-making-of
393•atan2•2d ago•169 comments

The Simple Elegance of the Integrated Timing Belt Loopback Fastener

https://danielmangum.com/posts/integrated-timing-belt-loopback-fastener/
58•hasheddan•4d ago•11 comments

Federal Communications Commission scraps limit on broadcast TV ownership

https://www.nbcnews.com/business/media/federal-communications-commission-scraps-limit-broadcast-t...
27•pseudolus•50m ago•18 comments

Show HN: The Channels SDK – Bring Any Agent to Any Channel (Slack, MS Teams)

https://github.com/CopilotKit/channels-sdk
54•davidmckayv•3h ago•17 comments

Pareto Front

https://en.wikipedia.org/wiki/Pareto_front
190•binyu•1w ago•82 comments

Humans missed 1 in 3 threats approving AI agent commands across 40k game runs

https://scalex.dev/blog/ai-agent-permissions-stats/
198•Wirbelwind•7h ago•161 comments

Improving GPT-5.6 Sol in ChatGPT—and expanding access for free users

https://openai.com/index/improving-gpt-5-6-sol-in-chatgpt/
14•tedsanders•2h ago•1 comments

Building progressively enhanced forms using Htmx

https://www.rafa.ee/articles/progressive-enhanced-forms-htmx/
17•mpweiher•6d ago•2 comments

Learn how chips are made with this Rollercoaster Tycoon-inspired animation

https://laurentiugabriel.github.io/ChipTycoon/
9•laurentiurad•6d ago•0 comments

Discovery Loop

https://www.discoveryloop.com/
879•xtreak29•1d ago•557 comments

Changes at Google DeepMind: Demis Hassabis from CEO to Chair, Jeff Dean departs

https://blog.google/company-news/inside-google/message-ceo/next-chapter-ai-momentum/
800•colesantiago•1d ago•855 comments

Zapscape (CVE-2026-64561)

https://github.com/V4bel/Zapscape
35•john_strinlai•2h ago•5 comments

Poles of Inaccessibility in the San Gabriel Mountains

https://notes.secretsauce.net/notes/2015/05/06_poles-of-inaccessibility-in-the-san-gabriel-mounta...
22•dima55•4d ago•14 comments

Unearthing my 1996 windowed OS in machine code for Am29000 homebrew computer

https://nanochess.org/the_am29000_computer.html
122•nanochess•5d ago•30 comments

Dress made of living mycelium can renew and repair itself

https://www.dezeen.com/2026/08/05/dress-living-mycelium-renew-repair/
37•speckx•2h ago•23 comments

Beating GPT-5.6 Sol on retrieval with 100x cheaper open models

https://neon.com/blog/how-castform-neon-beats-frontier-models-on-price-and-efficiency
409•moonikakiss•1d ago•114 comments

The title cards in Blade Runner are amazing

https://randsinrepose.com/archives/blade-runner-title-cards/
395•ExMachina73•21h ago•192 comments

Born Against, or why hobby programming communities are against LLM usage

https://blog.fogus.me/llm/born-against.html
382•lladnar•1d ago•443 comments

The End of No Code

https://blog.exe.dev/the-end-of-no-code
13•bryanmikaelian•3h ago•5 comments

Muse Code and Muse Spark 1.2

https://research.meta.ai/blog/introducing-muse-code-and-muse-spark-1-2
312•paulkrush•23h ago•237 comments

Join Me in Jamverse

https://contraptions.venkateshrao.com/p/join-me-in-jamverse
33•surprisetalk•6d ago•10 comments

Cloudflare OS: an open platform for agents, apps, and work

https://blog.cloudflare.com/cloudflare-os/
636•speckx•1d ago•313 comments

Branchless Rust: Making a Filter 4x Faster by Removing an If

https://www.greyblake.com/blog/branchless-rust/
273•greyblake•3d ago•99 comments

Zed DeltaDB

https://zed.dev/deltadb
511•ahamez•1d ago•296 comments