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

Comments

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

What Being Ripped Off Taught Me

https://belief.horse/notes/what-being-ripped-off-taught-me/
7•doctorhandshake•10m ago•0 comments

Age Verification as Mass Surveillance Infrastructure

https://tboteproject.com/surveillancefindings/
259•rurban•2h ago•73 comments

Show HN: I built a tiny LLM to demystify how language models work

https://github.com/arman-bd/guppylm
614•armanified•12h ago•78 comments

France pulls last gold held in US for $15B gain

https://www.mining.com/france-pulls-last-gold-held-in-us-for-15b-gain/
267•teleforce•5h ago•155 comments

Gemma 4 on iPhone

https://apps.apple.com/nl/app/google-ai-edge-gallery/id6749645337
705•janandonly•18h ago•197 comments

PostHog (YC W20) Is Hiring

1•james_impliu•4m ago

Microsoft hasn't had a coherent GUI strategy since Petzold

https://www.jsnover.com/blog/2026/03/13/microsoft-hasnt-had-a-coherent-gui-strategy-since-petzold/
567•naves•19h ago•368 comments

An open-source 240-antenna array to bounce signals off the Moon

https://moonrf.com/
149•hillcrestenigma•9h ago•18 comments

Sam Altman May Control Our Future – Can He Be Trusted?

https://www.newyorker.com/magazine/2026/04/13/sam-altman-may-control-our-future-can-he-be-trusted
10•adrianhon•2h ago•7 comments

Show HN: Real-time AI (audio/video in, voice out) on an M3 Pro with Gemma E2B

https://github.com/fikrikarim/parlor
145•karimf•19h ago•12 comments

LÖVE: 2D Game Framework for Lua

https://github.com/love2d/love
334•cl3misch•2d ago•163 comments

One ant for $220: The new frontier of wildlife trafficking

https://www.bbc.com/news/articles/cg4g44zv37qo
62•gmays•4d ago•2 comments

The 1987 game “The Last Ninja” was 40 kilobytes

https://twitter.com/exQUIZitely/status/2040777977521398151
162•keepamovin•10h ago•108 comments

Drop, formerly Massdrop, ends most collaborations and rebrands under Corsair

https://drop.com/
56•stevebmark•8h ago•16 comments

Tiny Corp's Exabox

https://twitter.com/__tinygrad__/status/2040944508402360592
25•macleginn•1h ago•1 comments

Show HN: I made a YouTube search form with advanced filters

https://playlists.at/youtube/search/
259•nevernothing•12h ago•158 comments

Ask HN: How do systems (or people) detect when a text is written by an LLM

12•elC0mpa•1h ago•8 comments

Running Gemma 4 locally with LM Studio's new headless CLI and Claude Code

https://ai.georgeliu.com/p/running-google-gemma-4-locally-with
306•vbtechguy•19h ago•75 comments

Sheets Spreadsheets in Your Terminal

https://github.com/maaslalani/sheets
106•_____k•2d ago•23 comments

Number in man page titles e.g. sleep(3)

https://lalitm.com/til-number-in-man-page-titles-e-g-sleep-3/
56•thunderbong•3h ago•21 comments

Is Germany's gold safe in New York ?

https://www.dw.com/en/is-germanys-gold-safe-in-new-york/video-75766873
140•KnuthIsGod•2h ago•124 comments

Signals, the push-pull based algorithm

https://willybrauner.com/journal/signal-the-push-pull-based-algorithm
77•mpweiher•2d ago•28 comments

Show HN: Gemma Gem – AI model embedded in a browser – no API keys, no cloud

https://github.com/kessler/gemma-gem
100•ikessler•12h ago•16 comments

The Intelligence Failure in Iran

https://www.theatlantic.com/national-security/2026/04/iran-war-intelligence-failure-trump/686694/
34•JumpCrisscross•1h ago•38 comments

Case study: recovery of a corrupted 12 TB multi-device pool

https://github.com/kdave/btrfs-progs/issues/1107
83•salt4034•10h ago•40 comments

Does coding with LLMs mean more microservices?

https://ben.page/microservices
46•jer0me•10h ago•36 comments

Music for Programming

https://musicforprogramming.net
234•merusame•18h ago•106 comments

Why Switzerland has 25 Gbit internet and America doesn't

https://sschueller.github.io/posts/the-free-market-lie/
574•sschueller•18h ago•465 comments

Show HN: Modo – I built an open-source alternative to Kiro, Cursor, and Windsurf

https://github.com/mohshomis/modo
68•mohshomis•13h ago•14 comments

Usenet Archives

https://usenetarchives.com
69•myth_drannon•11h ago•21 comments