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

Comments

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

Chrome DevTools MCP

https://developer.chrome.com/blog/chrome-devtools-mcp-debug-your-browser-session
252•xnx•4h ago•116 comments

Canada's bill C-22 mandates mass metadata surveillance of Canadians

https://www.michaelgeist.ca/2026/03/a-tale-of-two-bills-lawful-access-returns-with-changes-to-war...
98•opengrass•2h ago•25 comments

The 49MB web page

https://thatshubham.com/blog/news-audit
213•kermatt•4h ago•130 comments

LLM Architecture Gallery

https://sebastianraschka.com/llm-architecture-gallery/
171•tzury•7h ago•9 comments

//go:fix inline and the source-level inliner

https://go.dev/blog/inliner
91•commotionfever•4d ago•28 comments

Separating the Wayland compositor and window manager

https://isaacfreund.com/blog/river-window-management/
191•dpassens•8h ago•81 comments

LLMs can be exhausting

https://tomjohnell.com/llms-can-be-absolutely-exhausting/
6•tjohnell•2h ago•0 comments

A new Bigfoot documentary helps explain our conspiracy-minded era

https://www.msn.com/en-us/news/us/a-new-bigfoot-documentary-helps-explain-our-conspiracy-minded-e...
12•zdw•1h ago•0 comments

What makes Intel Optane stand out (2023)

https://blog.zuthof.nl/2023/06/02/what-makes-intel-optane-stand-out/
166•walterbell•8h ago•110 comments

Glassworm Is Back: A New Wave of Invisible Unicode Attacks Hits Repositories

https://www.aikido.dev/blog/glassworm-returns-unicode-attack-github-npm-vscode
196•robinhouston•10h ago•115 comments

C++26: The Oxford Variadic Comma

https://www.sandordargo.com/blog/2026/03/11/cpp26-oxford-variadic-comma
95•ingve•4d ago•50 comments

Bus travel from Lima to Rio de Janeiro

https://kenschutte.com/lima-to-rio-by-bus/
105•ks2048•4d ago•39 comments

Learning athletic humanoid tennis skills from imperfect human motion data

https://zzk273.github.io/LATENT/
111•danielmorozoff•8h ago•21 comments

Nasdaq's Shame

https://keubiko.substack.com/p/nasdaqs-shame
41•imichael•1h ago•4 comments

Stop Sloppypasta

https://stopsloppypasta.ai/
57•namnnumbr•6h ago•25 comments

In Memoriam: John W. Addison, my PhD advisor

https://billwadge.com/2026/03/15/in-memoriam-john-w-addison-jr-my-phd-advisor/
78•herodotus•7h ago•4 comments

A Visual Introduction to Machine Learning (2015)

https://r2d3.us/visual-intro-to-machine-learning-part-1/
303•vismit2000•12h ago•29 comments

Show HN: Open-source playground to red-team AI agents with exploits published

https://github.com/fabraix/playground
4•zachdotai•1h ago•0 comments

Kangina

https://en.wikipedia.org/wiki/Kangina
26•thunderbong•1h ago•2 comments

Type systems are leaky abstractions: the case of Map.take!/2

https://dashbit.co/blog/type-systems-are-leaky-abstractions-map-take
7•tosh•4d ago•1 comments

Show HN: Free OpenAI API Access with ChatGPT Account

https://github.com/EvanZhouDev/openai-oauth
4•EvanZhouDev•2h ago•2 comments

Show HN: GDSL – 800 line kernel: Lisp subset in 500, C subset in 1300

https://firthemouse.github.io/
52•FirTheMouse•7h ago•13 comments

Ask HN: How is AI-assisted coding going for you professionally?

196•svara•7h ago•322 comments

Show HN: Signet – Autonomous wildfire tracking from satellite and weather data

https://signet.watch
103•mapldx•11h ago•28 comments

Hollywood Enters Oscars Weekend in Existential Crisis

https://www.theculturenewspaper.com/hollywood-enters-oscars-weekend-in-existential-crisis/
111•RickJWagner•10h ago•358 comments

Animated 'Firefly' Reboot in Development from Nathan Fillion, 20th TV

https://www.hollywoodreporter.com/tv/tv-news/animated-firefly-reboot-in-development-nathan-fillio...
130•Amorymeltzer•5h ago•24 comments

Show HN: What if your synthesizer was powered by APL (or a dumb K clone)?

https://octetta.github.io/k-synth/
73•octetta•10h ago•28 comments

Grandparents are glued to their phones [video]

https://www.bbc.com/reel/video/p0n61dg3/grandparents-are-glued-to-their-phones-families-are-worried
175•tartoran•5h ago•116 comments

Office.eu launches as Europe's sovereign office platform

https://office.eu/media/pressrelease-20260304
246•campuscodi•5h ago•130 comments

Autoresearch Hub

http://autoresearchhub.com/
30•EvgeniyZh•1d ago•15 comments