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.

Our position on open-weights models

https://www.anthropic.com/news/position-open-weights-models
811•surprisetalk•9h ago•1150 comments

Neutrino-1 8B

https://www.fermionresearch.com/models/neutrino-8b/
55•handfuloflight•2h ago•8 comments

Ars Astronomica – English translations of rare Hebrew and Latin astronomy texts

https://arsastronomica.com/
39•sweisman•2h ago•5 comments

A $500 RL fine-tune of a 9B open model beat frontier models on catalog review

https://fermisense.com/when-machines-take-the-wheel/
142•ilreb•5h ago•41 comments

Using an open model feels surprisingly good

https://matthewsaltz.com/blog/using-an-open-model-feels-surprisingly-good/
246•msaltz•5h ago•72 comments

Why do we think we understand the world more than we actually do?

https://thedecisionlab.com/biases/the-illusion-of-explanatory-depth
56•rramadass•3h ago•39 comments

Benchmarking Opus 5 on SlopCodeBench

https://github.com/humanlayer/advanced-context-engineering-for-coding-agents/blob/main/benchmarki...
253•dhorthy•9h ago•58 comments

An Uncomplicated Man – A review of The Odyssey, directed by Christopher Nolan

https://www.lrb.co.uk/the-paper/v48/n14/emily-wilson/an-uncomplicated-man
73•andsoitis•5h ago•39 comments

Vehicle Motion Cues

https://support.apple.com/guide/iphone/iphone-comfortably-riding-a-vehicle-iph55564cb22/ios
77•Austin_Conlon•6h ago•31 comments

PyTorch: A Reference Language

https://docs.pytorch.org/devlogs/compiler/2026-07-25-pytorch-a-reference-language/
23•matt_d•2h ago•2 comments

RTX 2080 Ti Memory Upgrade to 22 GB

https://gpusolutions.net/rbservices/graphics-card-upgrade/
86•wslh•3d ago•51 comments

Watching Go's new garbage collector move through the heap

https://theconsensus.dev/p/2026/07/19/observing-gos-garbage-collector-old-and-new.html
208•matheusmoreira•2d ago•23 comments

Kimi K3 Now Available via Telnyx Inference API

https://telnyx.com/release-notes/kimi-k3-telnyx-inference
68•fionaattelnyx•8h ago•22 comments

Show HN: Yap – OSS on-device voice dictation for macOS with no model to download

https://github.com/FrigadeHQ/yap
58•pancomplex•13h ago•16 comments

DConf 2026 in London

https://dconf.org/2026/index.html
76•teleforce•8h ago•37 comments

EYG: A Programming Language for Humans

https://crowdhailer.me/2026-06-08/a-programming-language-for-humans/
60•crowdhailer•5h ago•30 comments

C/C++ projects packaged for Zig

https://github.com/allyourcodebase
52•jcbhmr•8h ago•32 comments

Launch HN: Rise Reforming (YC S26) – Turning Waste Gases into Valuable Chemicals

https://www.rise-reforming.com
71•george_rose25•11h ago•30 comments

Programming Languages Are Authoring Tools for Platforms

https://www.makonea.com/en-US/blog/programming-languages-are-authoring-tools-for-platforms
7•jdw64•3d ago•0 comments

Three Theses on the Literacy Crisis

https://trevoraleo.substack.com/p/three-theses-on-the-literacy-crisis
44•samclemens•2d ago•32 comments

Some combinatorial applications of spacefilling curves

https://www2.isye.gatech.edu/~jjb/research/mow/mow.html
47•shraiwi•2d ago•5 comments

Ray tracing massive amounts of animated geometry using tetrahedral cages

https://gpuopen.com/learn/ray-tracing-massive-amounts-animated-geometry/
97•LorenDB•4d ago•12 comments

The age of token efficiency, the age of libraries

https://golemui.com/blog/the-age-of-token-efficiency/
19•handfuloflight•3h ago•0 comments

Self-contained highly-portable Python distributions

https://gregoryszorc.com/docs/python-build-standalone/main/
138•jcbhmr•12h ago•29 comments

Securing Services with Rootless Containers

https://blog.coderspirit.xyz/blog/2026/07/06/securing-services-with-rootless-containers/
90•speckx•4d ago•28 comments

A Dying Art: The last of the morticians

https://harpers.org/archive/2026/08/a-dying-art-john-semley-mortuary-sciences-competition/
24•Petiver•4d ago•1 comments

Paged Out #9 [pdf]

https://pagedout.institute/download/PagedOut_009.pdf
216•laurensr•17h ago•25 comments

How real are real numbers? (2004)

https://arxiv.org/abs/math/0411418
73•surprisetalk•15h ago•53 comments

A missing underscore sent innocent man to prison for 18 months

https://arstechnica.com/tech-policy/2026/07/police-missed-one-underscore-and-sent-the-wrong-man-t...
262•quantified•9h ago•143 comments

Netflix employee fired for sharing personal details in retreat trust exercise

https://nypost.com/2026/07/26/us-news/netflix-exec-goes-ballistic-after-being-fired-for-stunning-...
272•softwaredoug•8h ago•233 comments