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.

Rob Pike's Rules of Programming (1989)

https://www.cs.unc.edu/~stotts/COMP590-059-f24/robsrules.html
634•vismit2000•8h ago•343 comments

OpenRocket

https://openrocket.info/
96•zeristor•3d ago•21 comments

2025 Turing award given for quantum information science

https://awards.acm.org/about/2025-turing
31•srvmshr•8h ago•4 comments

Nvidia NemoClaw

https://github.com/NVIDIA/NemoClaw
107•hmokiguess•3h ago•66 comments

AI coding is gambling

https://notes.visaint.space/ai-coding-is-gambling/
121•speckx•1h ago•107 comments

Show HN: Hacker News archive (47M+ items, 11.6GB) as Parquet, updated every 5m

https://huggingface.co/datasets/open-index/hacker-news
87•tamnd•4d ago•22 comments

Machine Payments Protocol (MPP)

https://stripe.com/blog/machine-payments-protocol
85•bpierre•3h ago•39 comments

Nightingale – open-source karaoke app that works with any song on your computer

https://nightingale.cafe/
391•rzzzzru•10h ago•108 comments

Death to Scroll Fade

https://dbushell.com/2026/01/09/death-to-scroll-fade/
250•PaulHoule•3h ago•135 comments

Federal Cyber Experts Called Microsoft's Cloud "A Pile of Shit", yet Approved It

https://www.propublica.org/article/microsoft-cloud-fedramp-cybersecurity-government
308•hn_acker•4h ago•128 comments

Wander – A tiny, decentralised tool (just 2 files) to explore the small web

https://susam.net/wander/
41•oystersareyum•2h ago•14 comments

Show HN: Will my flight have Starlink?

59•bblcla•1h ago•45 comments

Oil nears $110 a barrel after gas field strike

https://www.bbc.com/news/articles/c78x83lpgngo
48•tartoran•54m ago•23 comments

Show HN: Tmux-IDE, OSS agent-first terminal IDE

https://tmux.thijsverreck.com
8•thijsverreck•1h ago•3 comments

Wanter – A tiny, decentralised tool to explore the small web

https://susam.net/wander/
12•susam•11h ago•17 comments

CVE-2026-3888: Important Snap Flaw Enables Local Privilege Escalation to Root

https://blog.qualys.com/vulnerabilities-threat-research/2026/03/17/cve-2026-3888-important-snap-f...
20•askl•3h ago•6 comments

Snowflake AI Escapes Sandbox and Executes Malware

https://www.promptarmor.com/resources/snowflake-ai-escapes-sandbox-and-executes-malware
161•ozgune•3h ago•41 comments

Write up of my homebrew CPU build

https://willwarren.com/2026/03/12/building-my-own-cpu-part-3-from-simulation-to-hardware/
201•wwarren•3d ago•39 comments

Google Engineers Launch "Sashiko" for Agentic AI Code Review of the Linux Kernel

https://www.phoronix.com/news/Sashiko-Linux-AI-Code-Review
47•speckx•2h ago•17 comments

DOGE canceled NC Museum grant for HVAC systems after ChatGPT flagged it as DEI

https://myfox8.com/news/north-carolina/high-point/doge-canceled-high-point-museum-grant-for-hvac-...
20•cldwalker•20m ago•3 comments

Restoring the first recording of computer music (2018)

https://www.bl.uk/stories/blogs/posts/restoring-the-first-recording-of-computer-music
21•OJFord•4d ago•8 comments

Americans Recognize AI as a Wealth Inequality Machine, Polls Find

https://gizmodo.com/americans-recognize-ai-as-a-wealth-inequality-machine-pollsters-find-2000734713
38•randycupertino•1h ago•6 comments

Using calculus to do number theory

https://hidden-phenomena.com/articles/hensels
68•cpp_frog•2d ago•11 comments

Celebrating Tony Hoare's mark on computer science

https://bertrandmeyer.com/2026/03/16/celebrating-tony-hoares-mark-on-computer-science/
102•benhoyt•12h ago•27 comments

North Korean's 100k fake IT workers net $500M a year for Kim

https://www.theregister.com/2026/03/18/researchers_lift_the_lid_on/
86•speckx•2h ago•81 comments

A dither generator for triangular and hexagonal pixels (2025)

https://danieltemkin.com/DitherStudies
4•strombolini•4d ago•0 comments

The pleasures of poor product design

https://www.inconspicuous.info/p/the-pleasures-of-poor-product-design
223•NaOH•17h ago•78 comments

Ndea (YC W26) is hiring a symbolic RL search guidance lead

https://ndea.com/jobs/search-guidance
1•mikeknoop•11h ago

A ngrok-style secure tunnel server written in Rust and Open Source

https://github.com/joaoh82/rustunnel
43•joaoh82•4h ago•16 comments

A Fuzzer for the Toy Optimizer

https://bernsteinbear.com/blog/toy-fuzzer/
12•surprisetalk•1d ago•1 comments