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

Comments

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

South Korea Mandates Solar Panels for Public Parking Lots

https://www.reutersconnect.com/item/south-korea-mandates-solar-panels-for-public-parking-lots/dGF...
124•_____k•1h ago•66 comments

Founder of GitLab battles cancer by founding companies

https://sytse.com/cancer/
695•bob_theslob646•7h ago•163 comments

CSS is DOOMed

https://nielsleenheer.com/articles/2026/css-is-doomed-rendering-doom-in-3d-with-css/
177•msephton•4h ago•48 comments

OpenBSD on Motorola 88000 Processors

http://miod.online.fr/software/openbsd/stories/m88k1.html
36•rbanffy•1d ago•2 comments

Further human + AI + proof assistant work on Knuth's "Claude Cycles" problem

https://twitter.com/BoWang87/status/2037648937453232504
145•mean_mistreater•6h ago•104 comments

Alzheimer's disease mortality among taxi and ambulance drivers (2024)

https://www.bmj.com/content/387/bmj-2024-082194
5•bookofjoe•33m ago•0 comments

AI overly affirms users asking for personal advice

https://news.stanford.edu/stories/2026/03/ai-advice-sycophantic-models-research
521•oldfrenchfries•11h ago•402 comments

Joining databases across teams without copying data or running servers

https://datahike.io/notes/collaborate-without-infrastructure/
13•whilo•2d ago•1 comments

The first 40 months of the AI era

https://lzon.ca/posts/other/thoughts-ai-era/
108•jpmitchell•6h ago•46 comments

Meta Partners with Arm to Develop New Class of Data Center Silicon

https://about.fb.com/news/2026/03/meta-partners-with-arm-to-develop-new-class-of-data-center-sili...
35•eatonphil•4d ago•5 comments

Linux is an interpreter

https://astrid.tech/2026/03/28/0/linux-is-an-interpreter/
161•frizlab•8h ago•31 comments

I decompiled the White House's new app

https://thereallo.dev/blog/decompiling-the-white-house-app
364•amarcheschi•9h ago•128 comments

I Built an Open-World Engine for the N64 [video]

https://www.youtube.com/watch?v=lXxmIw9axWw
349•msephton•13h ago•59 comments

InpharmD (YC W21) Is Hiring – Senior Ruby on Rails Developer

https://inpharmd.com/jobs/senior-ruby-on-rails-engineer
1•tulasichintha•3h ago

OpenCiv1 – open-source rewrite of Civ1

https://github.com/rajko-horvat/OpenCiv1
87•caminanteblanco•7h ago•28 comments

Cocoa-Way – Native macOS Wayland compositor for running Linux apps seamlessly

https://github.com/J-x-Z/cocoa-way
301•OJFord•15h ago•94 comments

Stop picking my Go version for me

https://blog.howardjohn.info/posts/go-mod-version/
16•ingve•3h ago•9 comments

Sealing Paper Packaging Without Adhesives

https://www.fraunhofer.de/en/press/research-news/2026/march-2026/sealing-paper-packaging-without-...
12•gnabgib•2h ago•0 comments

Spanish legislation as a Git repo

https://github.com/EnriqueLop/legalize-es
691•enriquelop•13h ago•213 comments

Undroidwish – a single-file, batteries-included Tcl/Tk binary for many platforms

https://androwish.org/home/wiki?name=undroidwish
62•smartmic•8h ago•3 comments

Detecting file changes on macOS with kqueue

https://www.vegardstikbakke.com/kqueue/
63•benhoyt•4d ago•11 comments

Computer chip material inspired by the human brain could slash AI energy use

https://www.cam.ac.uk/research/news/new-computer-chip-material-inspired-by-the-human-brain-could-...
8•hhs•2h ago•3 comments

Cat Itecture: Better Cat Window Boxes

https://gwern.net/catitecture
4•gggscript•17h ago•0 comments

Private equity turned vulnerable elderly people into human ATMs

https://www.theguardian.com/society/2026/mar/28/the-great-care-home-cash-grab-how-private-equity-...
90•mordechai9000•3h ago•49 comments

My heuristics are wrong. What now?

https://brooker.co.za/blog/2026/03/20/ic-leadership.html
32•herbertl•4d ago•4 comments

rpg.actor Game Jam

https://rpg.actor/jam
64•Kye•9h ago•5 comments

TreeTrek – A raw Git repository viewer web app

https://repo.autonoma.ca/treetrek
5•maxloh•2h ago•2 comments

Improved Git Diffs with Delta, Fzf and a Little Shell Scripting

https://nickjanetakis.com/blog/awesome-git-diffs-with-delta-fzf-and-a-little-shell-scripting
120•nickjj•4d ago•35 comments

ICAO issued new power bank restriction on flight

https://www.icao.int/news/new-power-bank-restrictions-will-safeguard-international-aviation
58•phantomathkg•10h ago•86 comments

Hacking old hardware by renaming to .zip [video]

https://www.youtube.com/watch?v=P1kfuCkWo24
100•abadar•3d ago•77 comments