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•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.

MAI-Code-1-Flash

https://microsoft.ai/news/introducingmai-code-1-flash/
356•EvanZhouDev•5h ago•163 comments

Use your Nvidia GPU's VRAM as swap space on Linux

https://github.com/c0dejedi/nbd-vram
49•tanelpoder•1h ago•7 comments

CT scans of BYD car parts

https://www.lumafield.com/scan-of-the-month/byd
165•viasfo•3h ago•68 comments

California’s university system went all in on AI, now it's tearing itself apart

https://www.nytimes.com/2026/06/01/magazine/ai-university-college-california.html
54•jeffwass•16h ago•33 comments

Gmail thinks I'm stupid, so I left

https://moddedbear.com/gmail-thinks-im-stupid-so-i-left
541•speckx•4h ago•329 comments

4K years ago, Mohenjo-daro grew more equal over time

https://archaeologymag.com/2026/05/mohenjo-daro-grew-more-equal-over-time/
21•marojejian•1h ago•2 comments

Open Repair Data Standard – Open Repair Alliance

https://openrepair.org/open-data/open-standard/
82•cassepipe•4h ago•2 comments

My thoughts after using Clojure for about a month

https://www.acdw.net/clojure/
80•speckx•4h ago•32 comments

A walking tour of surveillance infrastructure in Seattle (2020)

https://coveillance.org/a-walking-tour-of-surveillance-infrastructure-in-seattle/
365•eustoria•10h ago•227 comments

HP re-releases classic computer science calculator: The HP-16C

https://hpcalcs.com/product/hp-16c-collectors-edition/
105•dm319•4h ago•65 comments

Adafruit receives demand letter from Fenwick legal counsel on behalf of Flux.ai

https://blog.adafruit.com/
598•semanser•13h ago•246 comments

How we index images for RAG

https://www.kapa.ai/blog/how-we-index-images-for-rag
77•mooreds•7h ago•8 comments

Now AI agents need what RSS does

https://julienreszka.com/blog/rss-is-back-ai-agents-are-reading-it/
44•julienreszka•3h ago•17 comments

Npm-scan: Modern supply chain security for the npm ecosystem

https://github.com/lateos-ai/npm-scan
7•lateos-ai•1d ago•0 comments

Trump signs downsized AI order after weeks of reversals

https://www.politico.com/news/2026/06/02/trump-signs-downsized-ai-order-00946389
157•_alternator_•7h ago•110 comments

MP3s from Google Drive in Music Assistant on Home Assistant

https://blog.tomayac.com/2026/05/30/your-mp3s-from-google-drive-in-music-assistant-on-home-assist...
14•tomayac•3d ago•3 comments

Gleam v1.17.0

https://gleam.run/news/single-file-gleam-beam-programs-with-escript/
64•figbert•1h ago•4 comments

The advertising cartel coming to your web browser

https://blog.zgp.org/the-advertising-cartel-coming-to-your-web-browser/
113•speckx•4h ago•34 comments

Multicore suppport for DOS is real – partly

https://www.vogons.org/viewtopic.php?t=111336
49•beebix•2d ago•9 comments

Why Janet? (2023)

https://ianthehenry.com/posts/why-janet/
422•yacin•14h ago•227 comments

QBE – Compiler Backend – 1.3

https://c9x.me/compile/release/qbe-1.3.html
71•birdculture•6h ago•21 comments

Show HN: Paseo – Beautiful open-source coding agent interface

https://github.com/getpaseo/paseo
10•timhigins•1h ago•3 comments

Bringing Up DeepSeek-V4-Flash on AMD MI300X

https://fergusfinn.com/blog/deepseek-v4-flash-mi300x/
72•kkm•6h ago•6 comments

Show HN: Live breath detection and biofeedback from a phone microphone

https://github.com/shiihaa-app/shiihaa-breath-detection
20•felixzeller•7h ago•9 comments

Expanding Project Glasswing

https://www.anthropic.com/news/expanding-project-glasswing
151•surprisetalk•10h ago•194 comments

Age verification for social media, the beginning of the end for a free internet?

https://mullvad.net/en/blog/age-verification-for-social-media-the-beginning-of-the-end-for-a-free...
457•StrLght•1d ago•362 comments

Preparing for KDE Plasma's Last X11-Supported Release

https://blog.davidedmundson.co.uk/blog/596/
136•jandeboevrie•9h ago•167 comments

Love systemd timers

https://blog.tjll.net/you-dont-love-systemd-timers-enough/
337•yacin•14h ago•218 comments

Fidonet: Technology, Use, Tools, and History (1993)

https://www.fidonet.org/inet92_Randy_Bush.txt
142•BruceEel•10h ago•56 comments

Great Question (YC W21) Is Hiring Applied AI Interns

https://www.ycombinator.com/companies/great-question/jobs/J5TNvQH-ai-engineer-intern
1•nedwin•11h ago