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.

DeepSeek Harness

https://github.com/deepseek-ai/deepseek-harness
352•bjin•3h ago•154 comments

Gloomberb

https://gloom.sh/
192•rbanffy•2h ago•73 comments

Deutsche Bank becomes first foreign yuan clearing bank in Europe

https://tradersunion.com/news/central-banks/show/2973571-deutsche-bank-becomes/
286•Markoff•4h ago•303 comments

Spaghettifying DRAM

https://github.com/xoreaxeaxeax/skitter-creek-bath-salts
176•matt_d•2h ago•47 comments

Come for ENIAC, Stay for UNIVAC and Skeduflo

https://uniqueatpenn.wordpress.com/2026/08/05/come-for-eniac-stay-for-univac-and-skeduflo/
32•cainxinth•2d ago•3 comments

Kubernetes on Oxide: How customer needs shaped our integrations

https://oxide.computer/blog/kubernetes-on-oxide
53•stevehipwell•2h ago•8 comments

We eliminated 1,400 CVEs in NanoClaw's container images

https://www.echo.ai/blog/echo-xnanoclaw-under-the-hood
29•omrimaya•2h ago•9 comments

I built a 500k-domain search engine for makers in a weekend for $10

https://alexmorleyfinch.github.io/marlin/history/v1/article/the_birth.html
50•dreamforever•2h ago•32 comments

Codex in ChatGPT desktop app for Linux is now in preview

https://community.openai.com/t/codex-in-chatgpt-desktop-app-for-linux-is-now-in-preview/1390027
360•allanrbo•11h ago•252 comments

Show HN: MCP Memory – Fast Agent Memory Using Google's OKF and SQLite FTS5

https://github.com/fellowgeek/mcp-memory
35•pcbmaker20•2h ago•16 comments

Flock updates privacy, accountability, security, and transparency safeguards

https://www.flocksafety.com/blog/flock-guardrails-address-lpr-privacy-concerns-and-police-transpa...
26•LazyMans•1h ago•36 comments

Time to Move On: Querying Without Nulls and Bags

https://arxiv.org/abs/2608.10863
32•Jimmc414•2h ago•4 comments

Launch HN: Bullet (YC S26) – A Faster Coding Agent

https://www.codewithbullet.com
12•adi1•8h ago•6 comments

Graduate student proves a quantum uncertainty principle for fractals

https://www.quantamagazine.org/graduate-student-proves-the-fractal-uncertainty-principle-20260812/
18•bookofjoe•2h ago•1 comments

ATG (YC F25) Is Hiring Member of Technical Staff (Data Platform)

https://atg.science/careers
1•dkobran•4h ago

Picking berries is my meditation

https://www.tsoon.com/posts/picking-berries-meditation/
83•mooreds•4d ago•60 comments

I requested a copy of my data from McDonald’s loyalty program

https://www.wired.com/story/mcdonalds-built-a-515-page-dossier-on-me-it-says-ill-never-leave/
63•thehoff•1h ago•59 comments

Choosing an AI model: one prompt, 11 models, different results

https://www.netlify.com/blog/one-prompt-11-models-very-different-results/
97•toddmorey•3h ago•49 comments

Heart aerospace completes first flight of largest electric aircraft

https://www.heartaerospace.com/newsroom/heart-aerospace-completes-first-flight-of-world-s-largest...
83•chha•2h ago•66 comments

The mathematical physics of rainbows and glories (2001) [pdf]

https://tlakoba.w3.uvm.edu/AppliedUGMath/auxpaper_rainbow_glory_review.pdf
10•num42•2d ago•0 comments

Ordinary Abundance

https://ordinaryabundance.com/
20•yen223•2h ago•1 comments

Better Gaussian Splatting in Julia

https://pxl-th.github.io/blog/better-gs-julia/
66•pxl-th•4d ago•6 comments

The lattice of sets of natural numbers is rich (2021)

https://jdh.hamkins.org/the-lattice-of-sets-of-natural-numbers-is-rich/
90•benmandrew•3d ago•18 comments

Nine PBS could lose 70 years of archives after cloud vendor goes defunct

https://www.tomshardware.com/software/cloud-storage/nine-pbs-loses-access-to-70-years-of-data-aft...
88•vinayakborkar•3h ago•41 comments

What garbage collection actually costs

https://shivanshuag.com/blog/what-garbage-collection-actually-costs/
21•shivanshuag•3d ago•35 comments

Delta

https://zed.dev/blog/introducing-delta
638•khy•22h ago•232 comments

Text AI watermarks will always be trivial to remove

https://www.seangoedecke.com/text-ai-watermarks/
24•pseudolus•1h ago•19 comments

Principia Mathematica is modern and insightful

https://okmij.org/ftp/Computation/Impressions/PrincipiaMathematica.html
246•matt_d•17h ago•133 comments

DeepSeek API Pricing Update

https://twitter.com/deepseek_ai/status/2087864589895798968
88•mfiguiere•3h ago•31 comments

Build a Stratum 1 PTP Grandmaster on a Budget

https://opscode.io/posts/ptp-grandmaster-cm4-sr1723u10/
8•malcolmfrazier•2h ago•1 comments