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.

GPT-5.6 Sol Ultra will be in Codex

https://twitter.com/thsottiaux/status/2073933490513752151
133•mfiguiere•3h ago•74 comments

OpenPrinter

https://www.opentools.studio/
544•bouh•7h ago•127 comments

Has_not_been_viewed_much

https://iamwillwang.com/notes/has-not-been-viewed-much/
132•wxw•4h ago•38 comments

Organic Maps

https://organicmaps.app/
851•tosh•14h ago•243 comments

Building relationships with customers through support didn't turn out as hoped

https://www.uncommonapps.nyc/p/castro-podcasts-things-i-got-wrong-support
22•dabluck•2h ago•7 comments

Does Code Cleanliness Affect Coding Agents?

https://arxiv.org/abs/2605.20049
57•softwaredoug•5h ago•24 comments

Completing a computer science degree on Coursera

https://notesbylex.com/completing-a-computer-science-degree-on-coursera
138•lexandstuff•7h ago•102 comments

Show HN: Homegames. An open-source game platform I've been making for 8 years

https://homegames.io
109•homegamesjoseph•6h ago•32 comments

The Private Capture of Public Genius

https://www.wysr.xyz/p/the-private-capture-of-public-genius
57•martialg•4h ago•16 comments

The Age of Personalized Hardware Is Coming

https://geastack.com/blog-the-age-of-personalized-hardware-is-coming
14•arbayi•3d ago•6 comments

It's not about physical vs. digital games, it's about ownership

https://popcar.bearblog.dev/its-about-ownership/
352•popcar2•13h ago•265 comments

The future of Flipper Zero development

https://blog.flipper.net/future-of-flipper-zero-development/
255•croes•9h ago•107 comments

New AI tutor achieves 0.71-1.30 SD effect size in Dartmouth course [pdf]

https://intextbooks.science.uu.nl/workshop2026/files/itb26_s1s2.pdf
143•jonahbard•9h ago•87 comments

Connections in Math: the two kinds of random

https://stillthinking.net/posts/connections-in-math-two-kinds-of-random/
29•pcael•4h ago•17 comments

Mr. Baby Paint and accidentally discovering a new cellular automata

https://tekstien-marginaalien-keskus.aalto.fi/residenssi/heikki/blog/004-december-2/
126•jfil•3d ago•26 comments

Starring the Computer

https://www.starringthecomputer.com/computers.html
181•gitowiec•10h ago•43 comments

Composite Video on the NES: Why's it so wobbly?

https://nicole.express/2026/phase-altering-by-line.html
64•zdw•6h ago•6 comments

Delta flight hit by firework while landing at Midway Airport on Fourth of July

https://www.nbcchicago.com/news/local/delta-flight-hit-by-firework-while-landing-at-midway-airpor...
91•randycupertino•8h ago•112 comments

Zuckerberg says AI agent development going slower than expected

https://www.reuters.com/business/zuckerberg-says-ai-agent-development-going-slower-than-expected-...
129•cwwc•3d ago•274 comments

An Ordinary Mind on an Ordinary Day

https://www.laphamsquarterly.org/roundtable/ordinary-mind-ordinary-day
5•tintinnabula•3d ago•0 comments

DNSGlobe – Rust TUI to watch DNS propagate around the world

https://github.com/514-labs/dnsglobe
33•Callicles•6h ago•24 comments

Cursed circuits #5: capacitance multiplier

https://lcamtuf.substack.com/p/cursed-circuits-capacitance-multiplier
71•surprisetalk•8h ago•6 comments

The Sneakerweb

https://sneakerweb.org/
28•GalaxyNova•2h ago•6 comments

Introduction to Compilers and Language Design (2021)

https://dthain.github.io/books/compiler/
287•AlexeyBrin•16h ago•48 comments

You need a webring

https://shub.club/writings/2026/july/you-need-a-webring/
71•forthwall•9h ago•47 comments

Al Vigier: Canada's AI strategy shouldn't include secret Palantir bills

https://www.readtheline.ca/p/al-vigier-canadas-ai-strategy-shouldnt
118•ClearwayLaw•4h ago•43 comments

Dungeon Proof Crawler: learn how to write proofs with RPG

https://dhilst.github.io/algae/game/index.html
45•SchwKatze•7h ago•13 comments

The Writers Who Wrote the Most in History

https://brennan.day/compulsion-the-writers-who-wrote-the-most-in-history/
19•bookofjoe•4d ago•9 comments

Run Windows 2000 on a DEC Alpha with a new es40 fork

https://raymii.org/s/blog/Run_Windows_2000_for_Dec_Alpha_on_a_new_es40_fork.html
108•jandeboevrie•14h ago•60 comments

Shrimple – A Simpler, Nicer Markdown

https://qount25.dev/Shrimple/
4•usrbinenv•1h ago•2 comments