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

Axios compromised on NPM – Malicious versions drop remote access trojan

https://www.stepsecurity.io/blog/axios-compromised-on-npm-malicious-versions-drop-remote-access-t...
837•mtud•7h ago•294 comments

Ollama is now powered by MLX on Apple Silicon in preview

https://ollama.com/blog/mlx
275•redundantly•6h ago•131 comments

Artemis II is not safe to fly

https://idlewords.com/2026/03/artemis_ii_is_not_safe_to_fly.htm
355•idlewords•8h ago•224 comments

Claude Code's source code has been leaked via a map file in their NPM registry

https://twitter.com/Fried_rice/status/2038894956459290963
150•treexs•1h ago•59 comments

Universal Claude.md – cut Claude output tokens

https://github.com/drona23/claude-token-efficient
315•killme2008•9h ago•123 comments

Fedware: Government apps that spy harder than the apps they ban

https://www.sambent.com/the-white-house-app-has-huawei-spyware-and-an-ice-tip-line/
568•speckx•16h ago•202 comments

Why the US Navy Won't Blast the Iranians and 'Open' Strait of Hormuz

https://responsiblestatecraft.org/iran-strait-of-hormuz/
9•KoftaBob•57m ago•3 comments

Google's 200M-parameter time-series foundation model with 16k context

https://github.com/google-research/timesfm
121•codepawl•5h ago•58 comments

7,655 Ransomware Claims in One Year: Group, Sector, and Country Breakdown

https://ciphercue.com/blog/7655-ransomware-claims-march-2025-to-march-2026
3•adulion•25m ago•0 comments

Do your own writing

https://alexhwoods.com/dont-let-ai-write-for-you/
562•karimf•21h ago•193 comments

GitHub backs down, kills Copilot pull-request ads after backlash

https://www.theregister.com/2026/03/30/github_copilot_ads_pull_requests/
238•_____k•5h ago•149 comments

Clojure: The Documentary, official trailer [video]

https://www.youtube.com/watch?v=JJEyffSdBsk
207•fogus•4d ago•19 comments

RamAIn (YC W26) Is Hiring

https://www.ycombinator.com/companies/ramain/jobs/jezgwo5-ai-ml-research-engineer
1•svee•3h ago

Good CTE, Bad CTE

https://boringsql.com/posts/good-cte-bad-cte/
43•radimm•1d ago•13 comments

Android Developer Verification

https://android-developers.googleblog.com/2026/03/android-developer-verification-rolling-out-to-a...
261•ingve•12h ago•264 comments

How to turn anything into a router

https://nbailey.ca/post/router/
687•yabones•20h ago•234 comments

We're Pausing Asimov Press

https://www.asimov.press/p/pause
35•bookofjoe•1d ago•8 comments

Turning a MacBook into a touchscreen with $1 of hardware (2018)

https://anishathalye.com/macbook-touchscreen/
324•HughParry•15h ago•157 comments

Audio tapes reveal mass rule-breaking in Milgram's obedience experiments

https://www.psypost.org/audio-tapes-reveal-mass-rule-breaking-in-milgram-s-obedience-experiments-...
7•lentoutcry•2d ago•0 comments

One of the largest salt mines in the world exists under Lake Erie

https://apnews.com/article/cleveland-salt-mine-winter-road-0daf091e3d56f65766bcf6a597683893
29•1659447091•2d ago•19 comments

Oscar Reutersvärd (2021)

https://escherinhetpaleis.nl/en/about-escher/escher-today/oscar-reutersvard
36•layer8•1d ago•3 comments

Mr. Chatterbox is a Victorian-era ethically trained model

https://simonwillison.net/2026/Mar/30/mr-chatterbox/
47•y1n0•8h ago•33 comments

Bird brains (2023)

https://www.dhanishsemar.com/writing/bird-brains
321•DiffTheEnder•21h ago•201 comments

OpenGridWorks: The Electricity Infrasctructure, Mapped

https://www.opengridworks.com
114•jonbraun•13h ago•15 comments

Agents of Chaos

https://agentsofchaos.baulab.info/report.html
110•luu•3d ago•15 comments

Show HN: I turned a sketch into a 3D-print pegboard for my kid with an AI agent

https://github.com/virpo/pegboard
42•virpo•11h ago•12 comments

CodingFont: A game to help you pick a coding font

https://www.codingfont.com/
420•nvahalik•19h ago•211 comments

Cherri – programming language that compiles to an Apple Shortuct

https://github.com/electrikmilk/cherri
309•mihau•3d ago•60 comments

I'm betting on ATProto

https://brittanyellich.com/atproto/
111•speckx•14h ago•102 comments

Vulnerability research is cooked

https://sockpuppet.org/blog/2026/03/30/vulnerability-research-is-cooked/
182•pedro84•15h ago•128 comments