frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Right-Truncatable Prime Counter

https://github.com/EbodShojaei/Right-Truncatable-Primes
9•rainmans•1y ago

Comments

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

Claude Code is steganographically marking requests

https://thereallo.dev/blog/claude-code-prompt-steganography
1655•kirushik•14h ago•478 comments

Claude Sonnet 5

https://www.anthropic.com/news/claude-sonnet-5
1025•marinesebastian•11h ago•590 comments

The first early human eggs from stem cells

https://www.conception.bio/science-and-updates/the-first-early-human-eggs-from-stem-cells
24•dsr12•50m ago•2 comments

Matrix Orthogonalization Improves Memory in Recurrent Models

https://ayushtambde.com/blog/matrix-orthogonalization-improves-memory-in-recurrent-models/
12•at2005•46m ago•0 comments

Google copybara: moving code between repositories

https://github.com/google/copybara
150•reconnecting•6h ago•20 comments

Department of Commerce has lifted export controls on Claude Fable 5 and Mythos 5

https://twitter.com/AnthropicAI/status/2072106151890809341
519•Pragmata•6h ago•265 comments

Claude Science

https://claude.com/product/claude-science
435•lebovic•12h ago•131 comments

Forestiere Underground Gardens

https://en.wikipedia.org/wiki/Forestiere_Underground_Gardens
49•onemoresoop•4h ago•8 comments

Nano Banana 2 Lite

https://deepmind.google/models/gemini-image/flash-lite/
342•minimaxir•13h ago•140 comments

Pystd, similar-ish functionality with a fraction of the compile time

https://nibblestew.blogspot.com/2026/06/pystd-standard-library-similar-ish.html
11•ibobev•4d ago•2 comments

Leanstral 1.5

https://docs.mistral.ai/models/model-cards/leanstral-1-5-26-06
152•vetronauta•9h ago•45 comments

How does a pull-back car work? Illustrated teardown

https://mechanical-pencil.com/products/car
154•Muhammad523•2d ago•30 comments

From brain waves to words: a new path to communication without surgery

https://ai.meta.com/blog/brain2qwerty-brain-ai-human-communication/?_fb_noscript=1
139•alok-g•8h ago•73 comments

CERN bids farewell to the LHC and enters Long Shutdown 3

https://home.cern/cern-bids-farewell-to-the-lhc-and-enters-long-shutdown-3/
173•HelloUsername•1d ago•43 comments

I ported Kubernetes to the browser

https://ngrok.com/blog/i-ported-kubernetes-to-the-browser
219•peterdemin•9h ago•71 comments

Ante: A new way to blend borrow checking and reference counting

https://verdagon.dev/blog/ante-blending-borrowing-rc
75•g0xA52A2A•2d ago•17 comments

Hatari – Online Atari ST/STE/TT/Falcon Emulator

https://hatari.frama.io/hatari/online/hatari.html
50•gregsadetsky•7h ago•5 comments

Tokyo has only two barley tea makers, we visited one to see how mugicha is made

https://soranews24.com/2026/06/30/tokyo-has-only-two-barley-tea-makers-and-we-visited-one-to-see-...
110•zdw•10h ago•21 comments

Segmenting Robot Video into Actionable Subtasks

https://macrodata.co/blog/annotating-robot-video-subtasks
11•tomaspduarte•1d ago•2 comments

I built a mmWave material classification radar (2025)

https://gauthier-lechevalier.com/radar
165•GL26•12h ago•40 comments

Scaling Laws, Carefully

https://lilianweng.github.io/posts/2026-06-24-scaling-laws/
45•tehnub•4d ago•13 comments

ArXiv's Next Chapter

https://blog.arxiv.org/2026/06/30/arxivs-next-chapter/
18•subset•3h ago•1 comments

Deriving the SVD (Single Value Decomposition) from scratch

https://stillthinking.net/posts/connections-in-math-svd/
25•pcael•2d ago•9 comments

Building a custom octocopter from scratch with no prior hardware experience

https://karolina.mgdubiel.com/drone/
345•noleary•3d ago•73 comments

How employment changes when firms adopt generative AI

https://ramp.com/data/ai-jobs-impact
23•nreece•1h ago•10 comments

Stroustrup's Rule (2024)

https://buttondown.com/hillelwayne/archive/stroustrups-rule/
77•bmacho•3d ago•13 comments

TabFM: A zero-shot foundation model for tabular data

https://research.google/blog/introducing-tabfm-a-zero-shot-foundation-model-for-tabular-data/
65•brandonb•7h ago•8 comments

Long Island's decommissioned nuclear power plant

https://nickcarr.com/scouting-a-decommissioned-nuclear-power-plant/
110•mkmk•6d ago•43 comments

Have you restarted your computer this week?

https://taonaw.com/2026/06/27/have-you-restarted-your-computer.html
145•surprisetalk•15h ago•246 comments

Knoppix

https://www.knopper.net/knoppix/index-en.html
282•hoangvmpc•17h ago•109 comments