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.

Project Gutenberg – keeps getting better

https://www.gutenberg.org/
216•JSeiko•1h ago•67 comments

We don't know why Malawi is poor

https://newsletter.deenamousa.com/p/we-dont-know-why-malawi-is-poor
34•alphabetatango•52m ago•32 comments

A 0-click exploit chain for the Pixel 10

https://projectzero.google/2026/05/pixel-10-exploit.html
203•happyhardcore•4h ago•85 comments

Image-blaster: Creates 3D environments, SFX, and meshes from a single image

https://github.com/neilsonnn/image-blaster
32•MattRogish•2h ago•3 comments

O(x)Caml in Space

https://gazagnaire.org/blog/2026-05-14-borealis.html
194•yminsky•6h ago•37 comments

I built Zenith: a live local-first fixed viewport planetarium

https://smorgasb.org/zenith-tech/
35•surprisetalk•2h ago•3 comments

I designed a nibble-oriented CPU in Verilog to build a scientific calculator

https://github.com/gdevic/FPGA-Calculator
7•gdevic•33m ago•0 comments

Hightouch (YC S19) Is Hiring

https://hightouch.com/careers
1•joshwget•47m ago

Explore Wikipedia Like a Windows XP Desktop

https://explorer.samismith.com/
381•smusamashah•9h ago•98 comments

ASCII by Jason Scott

https://ascii.textfiles.com/
77•bookofjoe•3h ago•13 comments

Show HN: Watch a neural net learn to play Snake

https://ppo.gradexp.xyz/
39•c1b•1d ago•6 comments

High dimensional geometry is transforming the MRI industry (2017) [pdf]

https://www.ams.org/government/DonohoPresentation06-28-17Final.pdf
54•nill0•4h ago•13 comments

Radicle: Sovereign {code forge} built on Git

https://radicle.dev/
150•KolmogorovComp•5h ago•38 comments

Aperio Lang

https://aperio-lang.github.io/aperio/introduction.html
9•mmcclure•36m ago•0 comments

A new book on Steve Jobs at NeXT

https://spectrum.ieee.org/steve-jobs-next-computer
120•rbanffy•7h ago•99 comments

Removing the modem and GPS from my 2024 RAV4 hybrid

https://arkadiyt.com/2026/05/13/removing-the-modem-and-gps-from-my-rav4/
1011•arkadiyt•1d ago•533 comments

Amazon workers under pressure to up their AI usage are making up tasks

https://www.fastcompany.com/91541586/amazon-workers-pressured-to-up-ai-use-extraneous-tasks
194•hackernj•4h ago•172 comments

U.S. DOJ demands Apple and Google unmask over 100k users of car-tinkering app

https://macdailynews.com/2026/05/15/u-s-doj-demands-apple-and-google-unmask-over-100000-users-of-...
18•tencentshill•20m ago•1 comments

Show HN: Sx – an open-source package manager for AI skills, MCPs, and commands

https://github.com/sleuth-io/sx
4•detkin•45m ago•0 comments

OpenAI is connecting ChatGPT to bank accounts via Plaid

https://firethering.com/chatgpt-bank-account-plaid-openai/
52•steveharing1•1h ago•75 comments

Trade Dollars with other startups. Book it as revenue

https://www.revswap.ai/
153•tormeh•4h ago•107 comments

A few words on DS4

https://antirez.com/news/165
396•caust1c•19h ago•161 comments

NanoTDB – Golang Append-Only Time Series DB

https://github.com/aymanhs/nanotdb
37•aymanhs72•7h ago•5 comments

Ask HN: How to be SOC2 Type 2 compliant as a solo-entreprenuer?

75•sochix•10h ago•76 comments

Details of the Daring Airdrop at Tristan Da Cunha

https://www.tristandc.com/government/news-2026-05-11-airdrop.php
227•kspacewalk2•13h ago•88 comments

RTX 5090 and M4 MacBook Air: Can It Game?

https://scottjg.com/posts/2026-05-05-egpu-mac-gaming/
666•allenleee•1d ago•159 comments

Building ML framework with Rust and Category Theory

https://hghalebi.github.io/category_theory_transformer_rs/
83•adamnemecek•1d ago•17 comments

We are retiring our bug bounty program

https://turso.tech/blog/the-wonders-of-ai
317•tjek•4h ago•232 comments

First public macOS kernel memory corruption exploit on Apple M5

https://blog.calif.io/p/first-public-kernel-memory-corruption
421•quadrige•23h ago•112 comments

The sigmoids won't save you

https://www.astralcodexten.com/p/the-sigmoids-wont-save-you
51•Tomte•6h ago•65 comments