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•11mo ago

Comments

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

CUDA-oxide: Nvidia's official Rust to CUDA compiler

https://nvlabs.github.io/cuda-oxide/index.html
171•adamnemecek•2h ago•45 comments

Nullsoft, 1997-2004 AOL kills off the last maverick tech company (2004)

https://slate.com/technology/2004/11/the-death-of-the-last-maverick-tech-company.html
95•downbad_•3d ago•27 comments

Ratty – A terminal emulator with inline 3D graphics

https://ratty-term.org/
495•orhunp_•8h ago•167 comments

Training an LLM in Swift, Part 1: Taking matrix mult from Gflop/s to Tflop/s

https://www.cocoawithlove.com/blog/matrix-multiplications-swift.html
150•zdw•1d ago•8 comments

Show HN: TikTok but for Scientific Papers

https://andreaturchet.github.io/website/index.html
37•ciwrl•2h ago•26 comments

Gmail registration now requires scanning a QR code and sending a text message

https://discuss.privacyguides.net/t/google-account-registration-now-requires-sending-an-sms-via-p...
363•negura•11h ago•221 comments

AMÁLIA and the future of European Portuguese LLMs

https://duarteocarmo.com/blog/amalia-and-the-future-of-european-portuguese-llms
70•johnbarron•3d ago•30 comments

Bild AI (YC W25) Is Hiring Founding Product Engineers

https://bild.ai/jobs
1•rooppal•45m ago

Interfaze: A new model architecture built for high accuracy at scale

https://interfaze.ai/blog/interfaze-a-new-model-architecture-built-for-high-accuracy-at-scale
21•yoeven•2h ago•3 comments

Venom and Hot Peppers Offer a Key to Killing Resistant Bacteria

https://www.wired.com/story/mexican-science-transforms-scorpion-venom-and-habanero-chile-into-ant...
127•littlexsparkee•2d ago•41 comments

I'm going back to writing code by hand

https://blog.k10s.dev/im-going-back-to-writing-code-by-hand/
807•dropbox_miner•17h ago•480 comments

Microsoft Israel chief leaves amid ethical controversy

https://en.globes.co.il/en/article-microsoft-israel-chief-leaves-amid-ethical-controversy-1001542602
43•bhouston•1h ago•20 comments

Building a web server in aarch64 assembly to give my life (a lack of) meaning

https://imtomt.github.io/ymawky/
60•theanonymousone•3d ago•22 comments

Holding Community Space

https://supernuclear.substack.com/p/building-a-space-people-never-want
14•surprisetalk•3d ago•6 comments

Software engineering may no longer be a lifetime career

https://www.seangoedecke.com/software-engineering-may-no-longer-be-a-lifetime-career/
153•movis•3h ago•284 comments

Running local models on an M4 with 24GB memory

https://jola.dev/posts/running-local-models-on-m4
498•shintoist•19h ago•151 comments

The greatest shot in television: James Burke had one chance to nail this scene (2024)

https://www.openculture.com/2024/10/the-greatest-shot-in-television.html
298•susam•15h ago•175 comments

Students Boo Commencement Speaker After She Calls AI Next Industrial Revolution

https://www.404media.co/ucf-ai-commencement-speaker-booed/
73•cdrnsf•2h ago•42 comments

Guitar tuner that uses phone accelerometer

https://tautme.github.io/phone-sensors/accel-tuner.html
123•adm4•3d ago•70 comments

Hardware Attestation as Monopoly Enabler

https://grapheneos.social/@GrapheneOS/116550899908879585
2002•ChuckMcM•1d ago•674 comments

Should you leave red herrings about yourself online?

https://blog.alcazarsec.com/posts/should-you-leave-red-herrings-about-yourself-online
24•alcazar•2h ago•22 comments

The Boston Library Where You Still Can Borrow a Giant Puppet

https://binj.news/2026/05/06/the-boston-library-where-you-still-can-borrow-a-giant-puppet/
3•gnabgib•2d ago•0 comments

An AI coding agent, used to write code, needs to reduce your maintenance costs

https://www.jamesshore.com/v2/blog/2026/you-need-ai-that-reduces-your-maintenance-costs
315•cratermoon•18h ago•91 comments

Obsidian plugin was abused to deploy a remote access trojan

https://cyber.netsecops.io/articles/obsidian-plugin-abused-in-campaign-to-deploy-phantom-pulse-rat/
323•cmbailey•20h ago•190 comments

Local AI needs to be the norm

https://unix.foo/posts/local-ai-needs-to-be-norm/
1666•cylo•1d ago•654 comments

Scaffold a 1990s Geocities-themed static website

https://pypi.org/project/create-geocities-app/
37•whatsupdog•5h ago•15 comments

Mythos Finds a Curl Vulnerability

https://daniel.haxx.se/blog/2026/05/11/mythos-finds-a-curl-vulnerability/
517•TangerineDream•11h ago•215 comments

Bliss (Photograph)

https://en.wikipedia.org/wiki/Bliss_(photograph)
91•cainxinth•3d ago•40 comments

A.I. note takers are making lawyers nervous

https://www.nytimes.com/2026/05/09/business/dealbook/ai-notetakers-legal-risk.html
170•JumpCrisscross•8h ago•127 comments

Ask HN: What are you working on? (May 2026)

238•david927•1d ago•903 comments