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.

Reverse Engineering My Coway Air Purifier to Ditch the Cloud

https://scottjg.com/posts/2026-11-11-reverse-engineering-my-coway-air-purifier-to-ditch-the-cloud/
158•scottjg•17h ago•30 comments

Doomsday: Friday, 13 November, A.D. 2026 (1960)

https://www.science.org/doi/10.1126/science.132.3436.1291
288•voxleone•3h ago•189 comments

Why Zig over C for Systems Programming

https://www.mtsoukalos.eu/2026/11/why-zig-over-c-for-systems-programming/
72•torutofu•1h ago•15 comments

Jensen Huang resigns

https://apnews.com/article/nvidia-megaspeed-china-singapore-huang-5403f152a601cf82ce939f1d24fffa0f
3816•lldb•1d ago•3295 comments

Elevated errors on claude.ai, Claude Code, and platform.claude.com

https://status.claude.com/incidents/nn11wk485zfn
389•__vivek•5h ago•327 comments

A technical vision for the Haskell ecosystem

https://discourse.haskell.org/t/a-technical-vision-for-the-haskell-ecosystem/15078
21•cosmic_quanta•1h ago•1 comments

Lonewolf 0.3 – A standalone XMPP server written in Rust

https://github.com/lonewolf-im/lonewolf/releases/tag/v0.3.0
10•ortuman•1h ago•1 comments

IceWM

https://ice-wm.org/
298•inatreecrown2•10h ago•151 comments

U.S. October PPI Rises 6.5% YoY, Highest in Nearly Four Years

31•moonypto•51m ago•6 comments

Rust 1.100

https://blog.rust-lang.org/2026/11/12/Rust-1.100.0/
799•mbStavola•21h ago•293 comments

Palmfrets, Minnesota guitarist's invention, strikes a new chord

https://www.echopress.com/business/minnesota-guitarists-invention-strikes-a-new-chord
4•bookofjoe•36m ago•1 comments

Brave Search API now accepts agentic payments via the x402 protocol

https://brave.com/blog/search-api-agentic-payments/
199•sjdh76•12h ago•111 comments

The 42-Year Journey to Bring 'Neuromancer' to the Screen

https://www.wired.com/story/exclusive-apple-tv-neuromancer-creator-interviews/
39•Brajeshwar•1h ago•17 comments

Show HN: My $300 embroidery machine needed a subscription, so I built my own app

https://github.com/simpsoka/zigzag
656•simpsoka•22h ago•216 comments

US university students tell surveillance cameras to Flock off

https://www.theguardian.com/technology/ng-interactive/2026/nov/13/universities-drop-flock-camera-...
22•beardyw•1h ago•0 comments

Gemini 4 Hydrogen and Orchestrator

https://antigravity.google/blog/gemini-4-hydrogen-in-google-antigravity/
467•jonbaer•20h ago•142 comments

AI Is Destroying the Trust Between Writers and Readers

https://www.theatlantic.com/books/2026/11/ai-literary-scams-amazon/689391/
114•FinnLobsien•4h ago•26 comments

Former Nvidia CEO Huang had a relationship with a second employee, sources say

https://www.reuters.com/technology/former-nvidia-ceo-huang-had-relationship-with-second-employee-...
376•jbredeche•19h ago•408 comments

Dwarf planet candidate appears which takes roughly 280 years to orbit our sun

https://www.smithsonianmag.com/smart-news/astronomers-found-a-mysterious-object-orbiting-far-beyo...
359•cybermango•20h ago•156 comments

Edge0-145B: Frontier AI Capabilities on Your Own Computer

https://edge0.ai/blog/introducing-edge0-145b-frontier-ai-capabilities-on-your-own-computer
306•sroussey•16h ago•91 comments

The Dawn of the Data Intelligence Engineer

https://motherduck.com/blog/the-data-intelligence-engineer/
97•jonbaer•6h ago•66 comments

I'm making LLMs work on small and old devices

https://github.com/hyperionaidev/smolmaxxing/
429•mrashad74•1d ago•164 comments

Service degradation on Microsoft 365

https://status.cloud.microsoft/
1077•dkpk•21h ago•903 comments

US test reactor cleared for operations

https://www.world-nuclear-news.org/articles/us-test-reactor-cleared-for-operations
21•PaulHoule•1h ago•5 comments

Foundation Models framework

https://developer.apple.com/foundation-models-framework/
245•kermatt•18h ago•33 comments

Eli Lilly CEO pushes back on Dario Amodei's medical claims

https://garymarcus.substack.com/p/breaking-eli-lilly-ceo-becomes-latest
223•Noaidi•1h ago•267 comments

EU Digital Identity Wallet rollout: every EU state on one board

https://myid.ie/business/eu-digital-wallet-tracker/
9•mooreds•46m ago•0 comments

Switcher (2004)

https://folklore.org/Switcher.html
121•sammatilda•12h ago•38 comments

Abandoned Quake 4 expansion finished by modders and now playable

https://www.moddb.com/mods/openq4/downloads/openq4-0141-windows-x64
296•klaussilveira•1d ago•115 comments

Turning a 22-year-old Postgres type-confusion primitive into RCE

https://mehmetince.net/part-3-6-how-i-ended-up-turning-a-22-year-old-postgresql-type-confusion-pr...
223•ozirus•21h ago•40 comments