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.

How I use Claude Code: Separation of planning and execution

https://boristane.com/blog/how-i-use-claude-code/
336•vinhnx•6h ago•197 comments

Japanese Woodblock Print Search

https://ukiyo-e.org/
46•curmudgeon22•3h ago•9 comments

A Botnet Accidentally Destroyed I2P

https://www.sambent.com/a-botnet-accidentally-destroyed-i2p-the-full-story/
73•Cider9986•5h ago•33 comments

Show HN: Llama 3.1 70B on a single RTX 3090 via NVMe-to-GPU bypassing the CPU

https://github.com/xaskasdf/ntransformer
192•xaskasdf•9h ago•47 comments

How Taalas "prints" LLM onto a chip?

https://www.anuragk.com/blog/posts/Taalas.html
35•beAroundHere•11h ago•5 comments

Two Bits Are Better Than One: making bloom filters 2x more accurate

https://floedb.ai/blog/two-bits-are-better-than-one-making-bloom-filters-2x-more-accurate
54•matheusalmeida•4d ago•6 comments

How far back in time can you understand English?

https://www.deadlanguagesociety.com/p/how-far-back-in-time-understand-english
469•spzb•3d ago•258 comments

“Playmakers,” reviewed: The race to give every child a toy

https://www.newyorker.com/magazine/2026/02/16/playmakers-the-jewish-entrepreneurs-who-created-the...
11•fortran77•1d ago•1 comments

Evidence of the bouba-kiki effect in naïve baby chicks

https://www.science.org/doi/10.1126/science.adq7188
108•suddenlybananas•8h ago•31 comments

Gamedate – A site to revive dead multiplayer games

https://gamedate.org/
45•msuniverse2026•1d ago•4 comments

Parse, Don't Validate and Type-Driven Design in Rust

https://www.harudagondi.space/blog/parse-dont-validate-and-type-driven-design-in-rust/
165•todsacerdoti•10h ago•40 comments

Scientists discover recent tectonic activity on the moon

https://phys.org/news/2026-02-scientists-tectonic-moon.html
41•bookmtn•4d ago•2 comments

zclaw: personal AI assistant in under 888 KB, running on an ESP32

https://github.com/tnm/zclaw
142•tosh•17h ago•80 comments

Carelessness versus Craftsmanship in Cryptography

https://blog.trailofbits.com/2026/02/18/carelessness-versus-craftsmanship-in-cryptography/
7•ingve•3d ago•0 comments

CXMT has been offering DDR4 chips at about half the prevailing market rate

https://www.koreaherald.com/article/10679206
187•phront•16h ago•168 comments

Claws are now a new layer on top of LLM agents

https://twitter.com/karpathy/status/2024987174077432126
255•Cyphase•1d ago•701 comments

The Human Root of Trust – public domain framework for agent accountability

https://humanrootoftrust.org/
7•3du4rd0v3g4•16h ago•3 comments

Coccinelle: Source-to-source transformation tool

https://github.com/coccinelle/coccinelle
82•anon111332142•22h ago•26 comments

Forward propagation of errors through time

https://nicolaszucchet.github.io/Forward-propagation-errors-through-time/
22•iNic•2d ago•0 comments

Toyota Mirai hydrogen car depreciation: 65% value loss in a year

https://carbuzz.com/toyota-mirai-massive-depreciation-one-year/
129•iancmceachern•12h ago•297 comments

A New Perspective on Drawing Venn Diagrams for Data Visualization

https://arxiv.org/abs/2601.06980
3•IdealeZahlen•3d ago•1 comments

Canvas_ity: A tiny, single-header <canvas>-like 2D rasterizer for C++

https://github.com/a-e-k/canvas_ity
79•PaulHoule•11h ago•28 comments

EDuke32 – Duke Nukem 3D (Open-Source)

https://www.eduke32.com/
170•reconnecting•10h ago•62 comments

I verified my LinkedIn identity. Here's what I handed over

https://thelocalstack.eu/posts/linkedin-identity-verification-privacy/
1224•ColinWright•23h ago•428 comments

Be wary of Bluesky

https://kevinak.se/blog/be-wary-of-bluesky
287•kevinak•1d ago•185 comments

Finding forall-exists Hyperbugs using Symbolic Execution

https://dl.acm.org/doi/full/10.1145/3689761
30•todsacerdoti•5d ago•2 comments

A16z partner says that the theory that we’ll vibe code everything is wrong

https://www.aol.com/articles/a16z-partner-says-theory-well-050150534.html
118•paulpauper•1d ago•173 comments

What not to write on your security clearance form (1988)

https://milk.com/wall-o-shame/security_clearance.html
427•wizardforhire•13h ago•189 comments

Iranian Students Protest as Anger Grows

https://www.wsj.com/world/middle-east/iranian-students-protest-as-anger-grows-89a6a44e
41•JumpCrisscross•1h ago•13 comments

Inputlag.science – Repository of knowledge about input lag in gaming

https://inputlag.science
77•akyuu•10h ago•13 comments