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.

Microgpt

http://karpathy.github.io/2026/02/12/microgpt/
462•tambourine_man•4h ago•83 comments

We do not think Anthropic should be designated as a supply chain risk

https://twitter.com/OpenAI/status/2027846016423321831
437•golfer•8h ago•189 comments

The Windows 95 user interface: A case study in usability engineering (1996)

https://dl.acm.org/doi/fullHtml/10.1145/238386.238611
212•ksec•8h ago•126 comments

Obsidian Sync now has a headless client

https://help.obsidian.md/sync/headless
440•adilmoujahid•13h ago•152 comments

SQL vs. NoSQL: How to Answer This Interview Question in 2026

https://www.thetrueengineer.com/p/sql-vs-nosql-how-to-answer-this-interview
10•janandonly•3d ago•0 comments

The happiest I've ever been

https://ben-mini.com/2026/the-happiest-ive-ever-been
415•bewal416•3d ago•212 comments

H-Bomb: A Frank Lloyd Wright Typographic Mystery

https://www.inconspicuous.info/p/h-bomb-a-frank-lloyd-wright-typographic
58•mrngm•2d ago•13 comments

Sub-second volumetric 3D printing by synthesis of holographic light fields

https://www.nature.com/articles/s41586-026-10114-5
25•zdw•3d ago•4 comments

Show HN: Xmloxide – an agent made rust replacement for libxml2

https://github.com/jonwiggins/xmloxide
50•jawiggins•6h ago•34 comments

Block the “Upgrade to Tahoe” Alerts

https://robservatory.com/block-the-upgrade-to-tahoe-alerts-and-system-settings-indicator/
182•todsacerdoti•11h ago•83 comments

Microsoft announces new "mini PCs" for Windows 365

https://www.neowin.net/news/microsoft-announces-new-mini-pcs-for-windows-365/
32•mikece•2d ago•31 comments

Addressing Antigravity Bans and Reinstating Access

https://github.com/google-gemini/gemini-cli/discussions/20632
223•RyanShook•16h ago•182 comments

Woxi: Wolfram Mathematica Reimplementation in Rust

https://github.com/ad-si/Woxi
268•adamnemecek•3d ago•111 comments

Verified Spec-Driven Development (VSDD)

https://gist.github.com/dollspace-gay/d8d3bc3ecf4188df049d7a4726bb2a00
166•todsacerdoti•13h ago•87 comments

MCP server that reduces Claude Code context consumption by 98%

https://mksg.lu/blog/context-mode
315•mksglu•20h ago•71 comments

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

https://nowigetit.us
218•jbdamask•16h ago•100 comments

Qwen3.5 122B and 35B models offer Sonnet 4.5 performance on local computers

https://venturebeat.com/technology/alibabas-new-open-source-qwen3-5-medium-models-offer-sonnet-4-...
301•lostmsu•10h ago•186 comments

Building a Minimal Transformer for 10-digit Addition

https://alexlitzenberger.com/blog/post.html?post=/building_a_minimal_transformer_for_10_digit_add...
47•kelseyfrog•8h ago•7 comments

Samsung Galaxy update removes Android recovery menu tools, including sideloading

https://9to5google.com/2026/02/27/samsung-galaxy-update-android-recovery-menu-removed/
78•pabs3•4h ago•16 comments

The Science of Detecting LLM-Generated Text

https://dl.acm.org/doi/10.1145/3624725
12•vinhnx•4h ago•1 comments

Werner Herzog Between Fact and Fiction

https://www.thenation.com/article/culture/werner-herzog-future-truth/
71•Hooke•1d ago•14 comments

New evidence that Cantor plagiarized Dedekind?

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

Our Agreement with the Department of War

https://openai.com/index/our-agreement-with-the-department-of-war
258•surprisetalk•9h ago•205 comments

The whole thing was a scam

https://garymarcus.substack.com/p/the-whole-thing-was-scam
715•guilamu•13h ago•216 comments

747s and Coding Agents

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

The archivist preserving decaying floppy disks

https://www.popsci.com/technology/floppy-disk-archivist-project/
61•Brajeshwar•3d ago•11 comments

Deterministic Programming with LLMs

https://www.mcherm.com/deterministic-programming-with-llms.html
36•todsacerdoti•3d ago•19 comments

The Eternal Promise: A History of Attempts to Eliminate Programmers

https://www.ivanturkovic.com/2026/01/22/history-software-simplification-cobol-ai-hype/
259•dinvlad•4d ago•173 comments

SpacetimeDB ThreeJS Support

https://discourse.threejs.org/t/spacetimedb-threejs-support-and-free-tier/90052
10•ryker2000•3d ago•3 comments

Unsloth Dynamic 2.0 GGUFs

https://unsloth.ai/docs/basics/unsloth-dynamic-2.0-ggufs
216•tosh•21h ago•59 comments