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•8mo ago

Comments

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

Microsoft open-sources LiteBox, a security-focused library OS

https://github.com/microsoft/litebox
27•aktau•34m ago•5 comments

I now assume that all ads on Apple news are scams

https://kirkville.com/i-now-assume-that-all-ads-on-apple-news-are-scams/
462•cdrnsf•3h ago•239 comments

Hackers (1995) Animated Experience

https://hackers-1995.vercel.app/
55•todsacerdoti•1h ago•21 comments

NIMBYs Aren't Just Shutting Down Housing

https://inpractice.yimbyaction.org/p/nimbys-arent-just-shutting-down-housing
9•toomuchtodo•13m ago•0 comments

The rise of one-pizza engineering teams

https://www.jampa.dev/p/the-rise-of-one-pizza-engineering
37•jampa•4d ago•28 comments

Claude Opus 4.6

https://www.anthropic.com/news/claude-opus-4-6
2142•HellsMaddy•22h ago•922 comments

TikTok's 'Addictive Design' Found to Be Illegal in Europe

https://www.nytimes.com/2026/02/06/business/tiktok-addictive-design-europe.html
269•thm•3h ago•187 comments

Wall Street just lost $285B because of 13 Markdown files

https://martinalderson.com/posts/wall-street-lost-285-billion-because-of-13-markdown-files/
19•nomdep•1h ago•8 comments

Invention of DNA "Page Numbers" Opens Up Possibilities for the Bioeconomy

https://www.caltech.edu/about/news/invention-dna-page-numbers-synthesis-kaihang-wang
77•dagurp•5h ago•40 comments

LLMs could be, but shouldn't be compilers

https://alperenkeles.com/posts/llms-could-be-but-shouldnt-be-compilers/
56•alpaylan•1h ago•58 comments

A new bill in New York would require disclaimers on AI-generated news content

https://www.niemanlab.org/2026/02/a-new-bill-in-new-york-would-require-disclaimers-on-ai-generate...
314•giuliomagnifico•5h ago•117 comments

GPT-5.3-Codex

https://openai.com/index/introducing-gpt-5-3-codex/
1408•meetpateltech•21h ago•552 comments

Things Unix can do atomically (2010)

https://rcrowley.org/2010/01/06/things-unix-can-do-atomically.html
190•onurkanbkrc•10h ago•64 comments

An Update on Heroku

https://www.heroku.com/blog/an-update-on-heroku/
10•lstoll•27m ago•4 comments

Understanding Neural Network, Visually

https://visualrambling.space/neural-network/
6•surprisetalk•3d ago•2 comments

Nixie-clock using neon lamps as logic elements (2007)

https://www.pa3fwm.nl/projects/neonclock/
23•jacquesm•4d ago•6 comments

My AI Adoption Journey

https://mitchellh.com/writing/my-ai-adoption-journey
743•anurag•20h ago•289 comments

Solving Shrinkwrap: New Experimental Technique

https://kizu.dev/shrinkwrap-solution/
17•spiros•12h ago•2 comments

Show HN: Smooth CLI – Token-efficient browser for AI agents

https://docs.smooth.sh/cli/overview
27•antves•23h ago•12 comments

DNS Explained – How Domain Names Get Resolved

https://www.bhusalmanish.com.np/blog/posts/dns-explained.html
58•okchildhood•3d ago•13 comments

Systems Thinking

http://theprogrammersparadox.blogspot.com/2026/02/systems-thinking.html
174•r4um•10h ago•90 comments

Stay Away from My Trash

https://tldraw.dev/blog/stay-away-from-my-trash
93•EvgeniyZh•3d ago•41 comments

Plasma Effect (2016)

https://www.4rknova.com/blog/2016/11/01/plasma
66•todsacerdoti•3d ago•13 comments

We tasked Opus 4.6 using agent teams to build a C Compiler

https://www.anthropic.com/engineering/building-c-compiler
618•modeless•20h ago•602 comments

Recreating Epstein PDFs from raw encoded attachments

https://neosmart.net/blog/recreating-epstein-pdfs-from-raw-encoded-attachments/
432•ComputerGuru•1d ago•162 comments

Show HN: Artifact Keeper – Open-Source Artifactory/Nexus Alternative in Rust

https://github.com/artifact-keeper
109•bsgeraci•11h ago•39 comments

Coding Agents and Use Cases

https://justsitandgrin.im/posts/coding-agents-use-cases/
19•vinhnx•3d ago•6 comments

The time I didn't meet Jeffrey Epstein

https://scottaaronson.blog/?p=9534
281•pfdietz•20h ago•343 comments

Animated Knots

https://www.animatedknots.com/
275•ostacke•4d ago•38 comments

The RCE that AMD won't fix

https://mrbruh.com/amd/
303•MrBruh•16h ago•132 comments