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.

Claude Code sends your email address to websites

https://github.com/anthropics/claude-code/issues/107757
542•motoroco•3h ago•183 comments

Search for everyone

https://kagi.com/changelog#11820
532•elashri•6h ago•261 comments

sshole

https://sshhole.com
2346•josemrb•13h ago•573 comments

MS Paint Remote Code Execution Vulnerability

https://www.cve.org/CVERecord?id=CVE-2026-83844
329•kuberwastaken•5h ago•112 comments

Inkling 2 Small

https://thinkingmachines.ai/news/inkling-2-small/
67•Philpax•2h ago•28 comments

Alpine Linux Security Advisory: OpenSSH-server password authentication bypass

https://alpinelinux.org/posts/2026-11-05-openssh-password-authentication-bypass/
590•pantalaimon•11h ago•125 comments

The Hackintosh Reborn

https://www.naut.ca/blog/2026/11/05/the-hackintosh-reborn-with-ai/
207•rubatuga•7h ago•100 comments

Window Sweaters

https://github.com/saragordic/window-sweaters
254•nickswalker•9h ago•79 comments

Tencent Launches Hy4, One of the Leading Open-Source AI Models

https://www.tencent.com/tencent-launches-hy4-joining-the-ranks-of-the-worlds-leading-open-source-...
86•gmays•5h ago•2 comments

Show HN: Firenook – Firebase emulators in Rust: 40× faster writes, 10× less RAM

https://firenook.dev/
31•sanjevirau•13h ago•3 comments

Launch HN: Rivet (YC W23) – Scale and Orchestrate Agents on S3

https://github.com/rivet-dev/rivet
75•NathanFlurry•8h ago•41 comments

Goodbye from Salon

https://www.salon.com/2026/11/05/goodbye-from-salon/
439•mkeeter•6h ago•163 comments

Brazilian Credit Guarantor Fund Data Breach Affecting PII and Payout Data

https://www.fgc.org.br/comunicado
20•doodlesdev•2h ago•2 comments

Show HN: A decent text-to-image model trained for ~$20K (Apache 2.0 Weights)

https://www.linum.ai/field-notes/pjit-21k
157•schopra909•1d ago•14 comments

Cuban: Facebook knowingly runs AI deepfake scam ads; docs say $16B fraud revenue

https://finance.yahoo.com/technology/ai/articles/mark-cuban-says-facebook-knowingly-213000020.html
99•randycupertino•3h ago•41 comments

September in Servo: <progress>, rounded rectangles, and more

https://servo.org/blog/2026/11/05/september-in-servo/
191•iamnothere•11h ago•45 comments

Download your favourite YouTube videos

https://criminallyvulgar.dev/you-should-absolutely-download-your-favourite-youtube-videos/
283•surprisetalk•13h ago•126 comments

Motorola Signature 27 with GrapheneOS support

https://motorolanews.com/motorola-signature-27-2/
401•monneyboi•10h ago•304 comments

MoofTCP – A modern replacement for MacTCP on 68k Macs

https://github.com/matthewmrichter/mooftcp
6•marcusbasant•1h ago•1 comments

Introducing Pangram Image 1.0

https://www.pangram.com/blog/introducing-pangram-image-1-0
62•gmays•6h ago•27 comments

I wish tech companies knew more about me

https://rakhim.exotext.com/i-wish-tech-companies-knew-more-about-me
311•freetonik•12h ago•277 comments

OpenSSH 10.6p2 Critical workaround for alpine without PAM

https://www.openssh.org/releasenotes.html#10.6p2
243•selckin•14h ago•11 comments

GPT-6 Astra covertly underperforms on safety research

https://alignment.openai.com/misalignment-reports/covert-underperformance-on-safety-research-tasks/
304•lucrbvi•18h ago•156 comments

Bild AI (YC W25) Is Hiring Founding Product Engineers

https://www.ycombinator.com/companies/bild-ai/jobs
1•rooppal•9h ago

Major Investors Are Skeptical Anthropic IPO Can Achieve $1.5T Valuation

https://www.wsj.com/finance/major-investors-are-skeptical-anthropic-ipo-can-achieve-1-5-trillion-...
34•JumpCrisscross•1h ago•23 comments

MCP Explained

https://mcp-explained.com/
251•rwilinski•12h ago•112 comments

Obscure audio codec is a perfect fit for the N64

https://phoboslab.org/log/2026/11/n64-ulc-codec
196•frostbyte7•13h ago•23 comments

Investors wipe $2.5T off Nasdaq as blue tsunami prompts AI fears

https://www.reuters.com/legal/transactional/ai-data-center-stocks-slip-democratic-sweep-clouds-ex...
23•lilerjee•1h ago•1 comments

The Stacks Project, Formalized in Lean

https://axiommath.ai/research/the-stacks-project-formalized/
70•namanbnsl•9h ago•20 comments

My psychophysics as a bilateral cochlear implant user

https://claude.ai/artifact/L8qsMc3SorytGW3LA81nYf
161•mi-rae•9h ago•72 comments