frontpage.
newsnewestaskshowjobs

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.

Claude Code Is Steganographically Marking Requests

https://thereallo.dev/blog/claude-code-prompt-steganography
276•kirushik•1h ago•83 comments

The labor share of income in the US is at its lowest post-war level

https://libertystreeteconomics.newyorkfed.org/2026/06/the-post-covid-decline-in-the-labor-share/
283•loughnane•1h ago•217 comments

Looking Ahead to Postgres 19

https://www.snowflake.com/en/blog/engineering/postgresql-19-features-beta/
124•thinkingemote•2h ago•78 comments

Memoirs of Extraordinary Popular Delusions and the Madness of Crowds (1852)

https://www.gutenberg.org/ebooks/24518
107•lstodd•4h ago•27 comments

EU commissioners shut down air conditioning for employees, leave theirs on

https://www.politico.eu/article/eu-commission-heatwave-hq-forced-shut-down-air-conditioning-europe/
61•spwa4•31m ago•23 comments

We moved our Bluesky data to Eurosky

https://waag.org/en/article/why-we-moved-our-bluesky-data-eurosky/
57•dotcoma•1h ago•41 comments

County with 37 Data Centers Asks Schools to 'Conserve Electricity'

https://www.404media.co/henrico-virginia-datacenter-energy-cost-email/
68•01-_-•45m ago•28 comments

Knoppix

https://www.knopper.net/knoppix/index-en.html
90•hoangvmpc•3h ago•47 comments

Building a custom octocopter from scratch with no prior hardware experience

https://karolina.mgdubiel.com/drone/
237•noleary•2d ago•52 comments

Open Source Low Tech

https://opensourcelowtech.org/
499•grep_it•4d ago•108 comments

European digital ID wallets rely on safety services of Google and Apple

https://waag.org/en/article/european-digital-id-wallets-are-gift-google-and-apple/
585•donohoe•6h ago•247 comments

Zluda 6 release (run unmodified CUDA applications on non-Nvidia GPUs)

https://vosen.github.io/ZLUDA/blog/zluda-update-q1q2-2026/
89•Tiberium•6h ago•8 comments

Qwen 3.6 27B is the sweet spot for local development

https://quesma.com/blog/qwen-36-is-awesome/
1074•stared•23h ago•691 comments

Mathematics: Its Content, Methods and Meaning

https://old.maa.org/press/maa-reviews/mathematics-its-content-methods-and-meaning
24•teleforce•3d ago•3 comments

.self: A new top-level domain designed to support self-hosting

https://hccf.onmy.cloud/2026/06/21/reclaiming-our-digital-selves-hccfs-vision-for-a-human-centere...
612•HumanCCF•21h ago•348 comments

Free the Icons

https://weblog.rogueamoeba.com/2026/06/26/free-the-icons/
604•zdw•3d ago•222 comments

Exercise intensity influences body composition in healthy older adults (2025)

https://www.maturitas.org/article/S0378-5122(25)00571-7/fulltext
154•bookofjoe•6h ago•129 comments

Scammers Sell Seeds for Exotic AI-Generated Flowers That Don't Exist

https://www.404media.co/scammers-sell-seeds-for-exotic-ai-generated-flowers-that-dont-exist/
31•Brajeshwar•1h ago•8 comments

I'm building a Space Cadet Pinball Machine! [video]

https://www.youtube.com/watch?v=lHQ8c8i42VE
45•skibz•3d ago•8 comments

Computer-Aided Language Development in Nonspeaking Children (1968) [pdf]

https://archive.org/details/colby1968-computer-aided-language-development-in-non-speaking-children
33•dang•1d ago•1 comments

BMW iX5 Blows Away the Competition with 460-KW Charging, 435-Mile Range

https://insideevs.com/news/800125/bmw-ix5-neue-klasse-ev-electric-suv/
15•01-_-•44m ago•12 comments

Memory Safe Context Switching

https://fil-c.org/context_switches
182•modeless•16h ago•28 comments

Parse, Don't Validate – In a Language That Doesn't Want You To

https://cekrem.github.io/posts/parse-dont-validate-typescript/
110•fagnerbrack•6h ago•86 comments

LongCat-2.0, a large-scale MoE model with 1.6T total and 48B Active

https://longcat.chat/blog/longcat-2.0/
228•benjiro29•16h ago•63 comments

Who are the fire-tamers?

https://aeon.co/essays/who-are-the-fire-taming-healers-of-modern-france
27•Caiero•1d ago•19 comments

Rocketlab acquires Iridium

https://investors.rocketlabcorp.com/news-releases/news-release-details/rocket-lab-acquire-iridium...
449•everfrustrated•1d ago•293 comments

Linux for the Sega MegaDrive

https://github.com/LinuxMD/linuxmd
187•HardwareLust•1d ago•46 comments

All Logic, No Bite

https://lcamtuf.substack.com/p/all-logic-no-bite
36•surprisetalk•3d ago•9 comments

Why problem statements aren't enough

https://letters.unchartedpathbreakthroughs.com/posts/why-problem-statements-arent-enough
31•mooreds•4d ago•7 comments

Old Computer Challenge

http://occ.sdf.org/
100•wrxd•2d ago•60 comments