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.

Attention Costs $100k

https://tornikeo.com/your-attention-costs-100k/
264•tornikeo•2h ago•113 comments

Google Play Integrity locks out alternative operating systems

https://consumerrights.wiki/w/Google_Play_Integrity_locks_out_alternative_operating_systems
365•DeepLogin•6h ago•140 comments

California to require businesses to provide customers with human support

https://calmatters.digitaldemocracy.org/bills/b-29278
155•DeepLogin•4h ago•76 comments

My OpenAI Dot made a discovery without me asking

https://echo.ls/dots-cwc/
662•maplet•12h ago•323 comments

BetterSPICE is a free, open-source SPICE circuit simulator

https://bspicesim.com/
150•zdw•8h ago•40 comments

What broke when I enabled PQC for Git and SSH

https://nordlenord.github.io/my-shared-notes/?id=f86ed9e6f4ac17225617717a5a14255f
144•tukHelix•8h ago•54 comments

Did AI rediscover a cryptographic attack NSA had known since 2015?

https://an.dywa.ng/ecc.html
925•cbeuw•20h ago•630 comments

NSA, NIST, and post-quantum cryptography

https://blog.cr.yp.to/20220805-nsa.html
128•frostbyte64•6h ago•17 comments

FreeHand

https://microsoft.github.io/FreeHand/
110•jhack•7h ago•50 comments

Making cement in seconds just needs a big microwave

https://arstechnica.com/science/2026/12/making-cement-in-seconds-just-needs-a-really-big-microwave/
48•amooe•3d ago•22 comments

My second-hand 5G router came with a Tailscale backdoor named after me

https://blog.euhe.eu/posts/second-hand-router-backdoor/
89•siguiriya•2h ago•33 comments

Make Me a Million-Bench: a benchmark where AIs build companies in the real world

https://andonlabs.com/evals/mmm-bench
168•lukaspetersson•11h ago•102 comments

CleanYourTV: Remove Ads and Bloat from Android TV and Google TV

https://cleanyour.tv
548•kls0e•21h ago•182 comments

How to find and upgrade SSH and PGP keys using P‑256, ED25519, and Curve25519

https://sethmlarson.dev/how-to-find-and-upgrade-256-bit-curve-keys
295•lumpa•14h ago•109 comments

Counting large numbers of events in small floating point registers

https://dotat.at/@/2026-12-02-approx-count.html
4•todsacerdoti•2d ago•0 comments

OpenAI's matrix multiplication paper solved a harder problem in computer science

https://www.newscientist.com/article/2602472-openai-solved-a-huge-problem-in-computer-science-and...
209•shinryuu•14h ago•40 comments

Into which trinitarian heresy hath ye fallen?

https://blesswrong.com
515•rachelshu•19h ago•370 comments

Tinybrowser: A browser running directly in the browser

https://tinybrowser.ericc.ch/
139•auraham•11h ago•52 comments

Intellectual Debt After Generative AI

https://www.noemamag.com/intellectual-debt-after-generative-ai/
610•theanonymousone•1d ago•408 comments

Claude still falls for old jailbreak exploits

https://spectrum.ieee.org/anthropic-ipo-security
373•speckx•18h ago•221 comments

Dufuna canoe: world's second-oldest known boat

https://en.wikipedia.org/wiki/Dufuna_canoe
6•bookofjoe•3d ago•0 comments

Silence at NIST, Panic on X: Who Gets to Tell Us Our Encryption Is Broken?

https://soghoian.net/blog/silence-at-nist-panic-on-x/
13•hellcow•2h ago•1 comments

Modern ThinkPads suck and I feel like a loser for buying new X1

https://www.reddit.com/r/thinkpad/s/NPoyFragud
14•cromka•1h ago•3 comments

OpenAI: Smooth four-dimensional Poincaré conjecture disproved [pdf]

https://github.com/openai/math/blob/main/preprints/Exotic-four-spheres-detected-by-Khovanov-homol...
215•xhevahir•11h ago•137 comments

Rare books destroyed in truck crash, upending Oakland man's future

https://oaklandside.org/2026/11/25/pratum-rare-books-big-rig-crash-wuum/
258•gnabgib•19h ago•74 comments

Building Z86: Lessons from Implementing an Out-of-Order x86 CPU on FPGA

https://nand2mario.github.io/posts/2026/z86/
53•wicket•2d ago•3 comments

An OS with no threads: The Actor Model

https://www.timdbg.com/posts/dbgos-actor-model/
344•ingve•1d ago•151 comments

The spectrum between coding and vibe coding

https://dmitryfrank.com/articles/ai_for_coding_in_2026
216•dimonomid•20h ago•121 comments

Show HN: Weavon, 99.93% Pandoc in 9.3 MB of Rust, 15-50x faster, PDF without TeX

https://github.com/weavon/weavon
323•deyvium•20h ago•140 comments

Open Source Volumetric Capture

https://ritmps.github.io/chumps/
163•bongoherbert•18h ago•2 comments