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.

Deno Sandbox

https://deno.com/blog/introducing-deno-sandbox
250•johnspurlock•4h ago•92 comments

FlashAttention-T: Towards Tensorized Attention

https://dl.acm.org/doi/10.1145/3774934.3786425
22•matt_d•1h ago•5 comments

Qwen3-Coder-Next

https://qwen.ai/blog?id=qwen3-coder-next
516•danielhanchen•6h ago•306 comments

AliSQL: Alibaba's open-source MySQL with vector and DuckDB engines

https://github.com/alibaba/AliSQL
112•baotiao•3h ago•14 comments

Lessons Learned Shipping 500 Units of My First Hardware Product

https://www.simonberens.com/p/lessons-learned-shipping-500-units
30•sberens•2d ago•16 comments

Agent Skills

https://agentskills.io/home
326•mooreds•8h ago•187 comments

Data centers in space makes no sense

https://civai.org/blog/space-data-centers
38•ajyoon•2h ago•31 comments

Prek: A better, faster, drop-in pre-commit replacement, engineered in Rust

https://github.com/j178/prek
158•fortuitous-frog•5h ago•75 comments

France dumps Zoom and Teams as Europe seeks digital autonomy from the US

https://apnews.com/article/europe-digital-sovereignty-big-tech-9f5388b68a0648514cebc8d92f682060
608•AareyBaba•5h ago•351 comments

Xcode 26.3 unlocks the power of agentic coding

https://www.apple.com/newsroom/2026/02/xcode-26-point-3-unlocks-the-power-of-agentic-coding/
192•davidbarker•4h ago•149 comments

What's up with all those equals signs anyway?

https://lars.ingebrigtsen.no/2026/02/02/whats-up-with-all-those-equals-signs-anyway/
567•todsacerdoti•12h ago•171 comments

OpenClaw (a.k.a. Moltbot) Is Everywhere All at Once, and a Disaster

https://cacm.acm.org/blogcacm/openclaw-a-k-a-moltbot-is-everywhere-all-at-once-and-a-disaster-wai...
54•Beeroness•2h ago•21 comments

Sandboxing AI Agents in Linux

https://blog.senko.net/sandboxing-ai-agents-in-linux
64•speckx•4h ago•36 comments

Puget Systems Most Reliable Hardware of 2025

https://www.pugetsystems.com/labs/articles/puget-systems-most-reliable-hardware-of-2025/
58•zdw•3d ago•23 comments

China Moon Mission: Aiming for 2030 lunar landing

https://spectrum.ieee.org/china-moon-mission-mengzhou-artemis
71•rbanffy•2h ago•63 comments

Launch HN: Modelence (YC S25) – App Builder with TypeScript / MongoDB Framework

53•eduardpi•6h ago•29 comments

Bunny Database

https://bunny.net/blog/meet-bunny-database-the-sql-service-that-just-works/
222•dabinat•10h ago•100 comments

Another London: Excavating the disenchanted city

https://harpers.org/archive/2026/02/another-london-situationists-hari-kunzru/
24•jfil•2d ago•0 comments

Heritability of intrinsic human life span is about 50%

https://www.science.org/doi/10.1126/science.adz1187
123•XzetaU8•2d ago•83 comments

Bruce Schneier: AI and the scaling of betrayal (2023)

https://www.schneier.com/blog/archives/2023/12/ai-and-trust.html
63•insuranceguru•1h ago•8 comments

The Everdeck: A Universal Card System (2019)

https://thewrongtools.wordpress.com/2019/10/10/the-everdeck/
90•surprisetalk•6d ago•21 comments

X offices raided in France

https://apnews.com/article/france-x-investigation-seach-elon-musk-1116be84d84201011219086ecfd4e0bc
225•labrador•6h ago•205 comments

Show HN: Octosphere, a tool to decentralise scientific publishing

https://octosphere.social/
33•crimsoneer•5h ago•12 comments

Tadpole – A modular and extensible DSL built for web scraping

https://tadpolehq.com/
34•zachperkitny•5h ago•5 comments

Defining Safe Hardware Design [pdf]

https://people.csail.mit.edu/rachit/files/pubs/safe-hdls.pdf
32•rachitnigam•5h ago•4 comments

Anthropic AI tool sparks selloff from software to broader market

https://www.bloomberg.com/news/articles/2026-02-03/legal-software-stocks-plunge-as-anthropic-rele...
53•garbawarb•2h ago•22 comments

Emerge Career (YC S22) is hiring a product designer

https://www.ycombinator.com/companies/emerge-career/jobs/omqT34S-founding-product-designer
1•gabesaruhashi•10h ago

Show HN: Sandboxing untrusted code using WebAssembly

https://github.com/mavdol/capsule
65•mavdol04•7h ago•18 comments

Show HN: C discrete event SIM w stackful coroutines runs 45x faster than SimPy

https://github.com/ambonvik/cimba
44•ambonvik•6h ago•16 comments

Migrate Wizard – IMAP Based Email Migration Tool

https://migratewizard.com/#features
22•techstuff123•5h ago•21 comments