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

OpenCode – The open source AI coding agent

https://opencode.ai/
176•rbanffy•1h ago•65 comments

Our commitment to Windows quality

https://blogs.windows.com/windows-insider/2026/03/20/our-commitment-to-windows-quality/
245•hadrien01•3h ago•416 comments

France's aircraft carrier located in real time by Le Monde through fitness app

https://www.lemonde.fr/en/international/article/2026/03/20/stravaleaks-france-s-aircraft-carrier-...
420•MrDresden•9h ago•355 comments

We rewrote our Rust WASM Parser in TypeScript – and it got 3x Faster

https://www.openui.com/blog/rust-wasm-parser
15•zahlekhan•48m ago•7 comments

Show HN: We built a terminal-only Bluesky / AT Proto client written in Fortran

https://github.com/FormerLab/fortransky
13•FormerLabFred•29m ago•11 comments

Heart Attack and Stroke Risk Jumps When People Stop Taking GLP-1s

https://nautil.us/whiplash-heart-attack-and-stroke-risk-jumps-when-people-stop-taking-glp-1s-1279029
11•siquick•54m ago•1 comments

Attention Residuals

https://github.com/MoonshotAI/Attention-Residuals
89•GaggiX•4h ago•16 comments

Show HN: I made an email app inspired by Arc browser

https://demo.define.app
31•johndamaia•4h ago•15 comments

The Los Angeles Aqueduct Is Wild

https://practical.engineering/blog/2026/3/17/the-los-angeles-aqueduct-is-wild
262•michaefe•3d ago•142 comments

VisiCalc Reconstructed

https://zserge.com/posts/visicalc/
145•ingve•3d ago•59 comments

Show HN: Baltic shadow fleet tracker – live AIS, cable proximity alerts

https://github.com/FormerLab/shadow-fleet-tracker-light
11•FormerLabFred•1h ago•0 comments

Work_mem: It's a Trap

https://mydbanotebook.org/posts/work_mem-its-a-trap/
14•enz•2d ago•1 comments

A Japanese Glossary of Chopsticks Faux Pas

https://www.nippon.com/en/japan-data/h01362/
62•cainxinth•1h ago•54 comments

NumKong: 2'000 Mixed Precision Kernels for All

https://ashvardanian.com/posts/numkong/
15•ashvardanian•3h ago•0 comments

Parallel Perl – Autoparallelizing interpreter with JIT

https://perl.petamem.com/gpw2026/perl-mit-ai-gpw2026.html#/4/1/1
86•bmn__•2d ago•35 comments

Delve – Fake Compliance as a Service

https://deepdelver.substack.com/p/delve-fake-compliance-as-a-service
461•freddykruger•1d ago•153 comments

Entso-E final report on Iberian 2025 blackout

https://www.entsoe.eu/publications/blackout/28-april-2025-iberian-blackout/
164•Rygian•11h ago•64 comments

The bespoke software revolution? I'm not buying it

https://world.hey.com/jason/the-bespoke-software-revolution-i-m-not-buying-it-4bfad9ec
89•FireBy2024•2h ago•61 comments

Launch HN: Sitefire (YC W26) – Automating actions to improve AI visibility

30•vincko•5h ago•20 comments

I love my dumb watches

https://gary.onl/a-post-about-watches/
3•abnercoimbre•3d ago•2 comments

Show HN: An open-source safety net for home hemodialysis

https://safehemo.com/
28•qweliantanner•3d ago•6 comments

The worst volume control UI in the world (2017)

https://uxdesign.cc/the-worst-volume-control-ui-in-the-world-60713dc86950
35•andsoitis•2d ago•18 comments

Meme Buildings

https://misfitsarchitecture.com/2026/03/15/meme-buildings/
8•speckx•6h ago•0 comments

The Social Smolnet

https://ploum.net/2026-03-20-social-smolnet.html
98•aebtebeten•9h ago•11 comments

Super Micro Shares Plunge 25% After Co-Founder Charged in $2.5B Smuggling Plot

https://www.forbes.com/sites/tylerroush/2026/03/20/super-micro-shares-plunge-25-after-co-founder-...
293•pera•7h ago•126 comments

Video Encoding and Decoding with Vulkan Compute Shaders in FFmpeg

https://www.khronos.org/blog/video-encoding-and-decoding-with-vulkan-compute-shaders-in-ffmpeg
140•y1n0•3d ago•52 comments

Flash-KMeans: Fast and Memory-Efficient Exact K-Means

https://arxiv.org/abs/2603.09229
155•matt_d•3d ago•13 comments

Regex Blaster

https://mdp.github.io/regex-blaster/
140•mdp•3d ago•51 comments

FSF statement on copyright infringement lawsuit Bartz v. Anthropic

https://www.fsf.org/blogs/licensing/2026-anthropic-settlement
243•m463•4d ago•121 comments

ArXiv declares independence from Cornell

https://www.science.org/content/article/arxiv-pioneering-preprint-server-declares-independence-co...
699•bookstore-romeo•18h ago•240 comments