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.

Cognitive Debt: When Velocity Exceeds Comprehension

https://www.rockoder.com/beyondthecode/cognitive-debt-when-velocity-exceeds-comprehension/
148•pagade•2h ago•59 comments

Obsidian Sync now has a headless client

https://help.obsidian.md/sync/headless
62•adilmoujahid•1h ago•17 comments

Woxi: Wolfram Mathematica Reimplementation in Rust

https://github.com/ad-si/Woxi
128•adamnemecek•2d ago•48 comments

Addressing Antigravity Bans and Reinstating Access

https://github.com/google-gemini/gemini-cli/discussions/20632
100•RyanShook•3h ago•79 comments

A Man Who Stole Infinity

https://www.quantamagazine.org/the-man-who-stole-infinity-20260225/
15•rbanffy•3d ago•3 comments

Verified Spec-Driven Development (VSDD)

https://gist.github.com/dollspace-gay/d8d3bc3ecf4188df049d7a4726bb2a00
6•todsacerdoti•43m ago•0 comments

We Will Not Be Divided

https://notdivided.org
2281•BloondAndDoom•16h ago•720 comments

From Noise to Image – interactive guide to diffusion

https://lighthousesoftware.co.uk/projects/from-noise-to-image/
30•simedw•2d ago•7 comments

OpenAI Fires an Employee for Prediction Market Insider Trading

https://www.wired.com/story/openai-fires-employee-insider-trading-polymarket-kalshi/
135•bookofjoe•3h ago•84 comments

747s and Coding Agents

https://carlkolon.com/2026/02/27/engineering-747-coding-agents/
34•cckolon•1d ago•7 comments

Customer Update on Simplenote

https://forums.simplenote.com/forums/topic/customer-update-on-simplenote/?view=all
46•0in•4h ago•35 comments

Show HN: SQLite for Rivet Actors – one database per agent, tenant, or document

https://github.com/rivet-dev/rivet
6•NathanFlurry•1h ago•0 comments

Unsloth Dynamic 2.0 GGUFs

https://unsloth.ai/docs/basics/unsloth-dynamic-2.0-ggufs
134•tosh•8h ago•41 comments

The Life Cycle of Money

https://doap.metal.bohyen.space/blog/post/complete-life-cycle-of-money/
40•nanacnote•4h ago•7 comments

Latency numbers every programmer should know

https://cheat.sh/latency
37•ksec•4h ago•12 comments

A new California law says all operating systems need to have age verification

https://www.pcgamer.com/software/operating-systems/a-new-california-law-says-all-operating-system...
739•WalterSobchak•1d ago•632 comments

Everything Changes, and Nothing Changes

https://btao.org/posts/2026-02-28-everything-changes-nothing-changes/
20•todsacerdoti•4h ago•12 comments

What AI coding costs you

https://tomwojcik.com/posts/2026-02-15/finding-the-right-amount-of-ai/
172•tomwojcik•4h ago•121 comments

The Eternal Promise: A History of Attempts to Eliminate Programmers

https://www.ivanturkovic.com/2026/01/22/history-software-simplification-cobol-ai-hype/
152•dinvlad•3d ago•111 comments

Don't trust AI agents

https://nanoclaw.dev/blog/nanoclaw-security-model
227•gronky_•5h ago•118 comments

More Cows, More Wives

https://www.worksinprogress.news/p/more-cows-more-wives
55•oxw•3d ago•27 comments

OpenAI agrees with Dept. of War to deploy models in their classified network

https://twitter.com/sama/status/2027578652477821175
1164•eoskx•14h ago•555 comments

US and Israel launch strikes on Iran, as Trump says ‘massive’ campaign underway

https://www.cnn.com/2026/02/28/middleeast/israel-attack-iran-intl-hnk
685•lavp•11h ago•1646 comments

Show HN: SplatHash – A lightweight alternative to BlurHash and ThumbHash

https://github.com/junevm/splathash
40•unsorted2270•6h ago•16 comments

OpenAI raises $110B on $730B pre-money valuation

https://techcrunch.com/2026/02/27/openai-raises-110b-in-one-of-the-largest-private-funding-rounds...
544•zlatkov•1d ago•568 comments

Stop Burning Your Context Window – How We Cut MCP Output by 98% in Claude Code

https://mksg.lu/blog/context-mode
51•mksglu•7h ago•13 comments

Smallest transformer that can add two 10-digit numbers

https://github.com/anadim/AdderBoard
208•ks2048•1d ago•86 comments

OpenAI – How to delete your account

https://help.openai.com/en/articles/6378407-how-to-delete-your-account
1661•carlosrg•7h ago•313 comments

Show HN: Now I Get It – Translate scientific papers into interactive webpages

https://nowigetit.us
65•jbdamask•4h ago•56 comments

Croatia declared free of landmines after 31 years

https://glashrvatske.hrt.hr/en/domestic/croatia-declared-free-of-landmines-after-31-years-12593533
445•toomuchtodo•14h ago•110 comments