frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Right-Truncatable Prime Counter

https://github.com/EbodShojaei/Right-Truncatable-Primes
9•rainmans•6mo ago

Comments

throwawaymaths•6mo 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•6mo ago
i dont think smaller radixes make the problem more interesting. the problem is interesting because base 10 has a large branching factor
throwawaymaths•6mo 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•6mo ago
There's a Project Euler problem for finding truncatable prime numbers, from both left and right: https://projecteuler.net/problem=37
thechao•6mo 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.

Reinventing how .NET builds and ships (again)

https://devblogs.microsoft.com/dotnet/reinventing-how-dotnet-builds-and-ships-again/
92•IcyWindows•3h ago•38 comments

A new bridge links the math of infinity to computer science

https://www.quantamagazine.org/a-new-bridge-links-the-strange-math-of-infinity-to-computer-scienc...
126•digital55•6h ago•32 comments

Unifying our mobile and desktop domains

https://techblog.wikimedia.org/2025/11/21/unifying-mobile-and-desktop-domains/
105•todsacerdoti•9h ago•21 comments

A DOOM vector engine for rendering in KiCad, and over an audio jack

https://www.mikeayles.com/#kidoom
75•mikeayles•4h ago•9 comments

What they don't tell you about maintaining an open source project

https://andrej.sh/blog/maintaining-open-source-project/
83•andrejsshell•4h ago•58 comments

CS234: Reinforcement Learning Winter 2025

https://web.stanford.edu/class/cs234/
12•jonbaer•1h ago•0 comments

Show HN: We built an open source, zero webhooks payment processor

https://github.com/flowglad/flowglad
223•agreeahmed•8h ago•144 comments

The Definitive Classic Mac Pro (2006-2012) Upgrade Guide

https://blog.greggant.com/posts/2018/05/07/definitive-mac-pro-upgrade-guide.html
10•surprisetalk•2d ago•2 comments

Google Antigravity exfiltrates data via indirect prompt injection attack

https://www.promptarmor.com/resources/google-antigravity-exfiltrates-data
568•jjmaxwell4•7h ago•150 comments

FLUX.2: Frontier Visual Intelligence

https://bfl.ai/blog/flux-2
244•meetpateltech•10h ago•72 comments

Ironwood, our latest TPU

https://blog.google/products/google-cloud/ironwood-google-tpu-things-to-know/
32•zdw•4h ago•4 comments

How to repurpose your old phone into a web server

https://far.computer/how-to/
178•louismerlin•3d ago•72 comments

Trillions spent and big software projects are still failing

https://spectrum.ieee.org/it-management-software-failures
314•pseudolus•14h ago•282 comments

Jakarta is now the biggest city in the world

https://www.axios.com/2025/11/24/jakarta-tokyo-worlds-biggest-city-population
252•skx001•20h ago•167 comments

Ilya Sutskever: We're moving from the age of scaling to the age of research

https://www.dwarkesh.com/p/ilya-sutskever-2
197•piotrgrabowski•9h ago•169 comments

Space: 1999 – Special Effects Techniques

https://catacombs.space1999.net/main/pguide/upsfx.html
8•exvi•1h ago•0 comments

Launch HN: Onyx (YC W24) – Open-source chat UI

166•Weves•12h ago•121 comments

1,700-year-old Roman sarcophagus is unearthed in Budapest

https://apnews.com/article/hungary-roman-sarcophagus-discovery-budapest-77a41fe190bbcc167b43d0514...
23•gmays•1d ago•11 comments

The Generative Burrito Test

https://www.generativist.com/notes/2025/Nov/25/generative-burrito-test.html
84•pathdependent•3h ago•43 comments

Notes on the Troubleshooting and Repair of Computer and Video Monitors

https://www.repairfaq.org/sam/monfaq.htm
19•WorldPeas•3h ago•3 comments

Constant-time support coming to LLVM: Protecting cryptographic code

https://blog.trailofbits.com/2025/11/25/constant-time-support-coming-to-llvm-protecting-cryptogra...
44•ahlCVA•13h ago•16 comments

Python is not a great language for data science

https://blog.genesmindsmachines.com/p/python-is-not-a-great-language-for
139•speckx•9h ago•150 comments

The 101 of analog signal filtering (2024)

https://lcamtuf.substack.com/p/the-101-of-analog-signal-filtering
128•harperlee•4d ago•10 comments

Brand New Layouts with CSS Subgrid

https://www.joshwcomeau.com/css/subgrid/
6•soheilpro•1h ago•1 comments

Inflatable Space Stations

https://worksinprogress.co/issue/inflatable-space-stations/
66•bensouthwood•4d ago•27 comments

Unison 1.0

https://www.unison-lang.org/unison-1-0/
208•pchiusano•6h ago•68 comments

Google steers Americans looking for health care into "junk insurance"

https://pluralistic.net/2025/11/25/open-season/
88•hn_acker•4h ago•27 comments

Making Crash Bandicoot (2011)

https://all-things-andy-gavin.com/video-games/making-crash/
204•davikr•14h ago•36 comments

What Now? Handling Errors in Large Systems

https://brooker.co.za/blog/2025/11/20/what-now
6•thundergolfer•1h ago•0 comments

Bad UX World Cup 2025

https://badux.lol/
125•CharlesW•7h ago•36 comments