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.

Tell HN: Anthropic no longer allowing Claude Code subscriptions to use OpenClaw

466•firloop•6h ago•431 comments

Artemis II crew take “spectacular” image of Earth

https://www.bbc.com/news/articles/ce8jzr423p9o
623•andsoitis•10h ago•234 comments

Delve removed from Y Combinator

https://www.ycombinator.com/companies/delve
165•carabiner•3h ago•78 comments

iNaturalist

https://www.inaturalist.org/
370•bookofjoe•12h ago•104 comments

Gold overtakes U.S. Treasuries as the largest foreign reserve asset

https://economictimes.indiatimes.com/news/international/us/gold-overtakes-u-s-treasuries-as-the-w...
93•lxm•3h ago•50 comments

OpenClaw privilege escalation vulnerability

https://nvd.nist.gov/vuln/detail/CVE-2026-33579
300•kykeonaut•13h ago•173 comments

Herbie: Automatically improve imprecise floating point formulas

https://herbie.uwplse.org/doc/latest/tutorial.html
62•summarity•3d ago•9 comments

What changes when you turn a Linux box into a router

https://patrickmccanna.net/7-configuration-changes-that-turn-a-multi-homed-host-into-a-switch-rou...
133•0o_MrPatrick_o0•3d ago•34 comments

Run Linux containers on Android, no root required

https://github.com/ExTV/Podroid
63•politelemon•7h ago•18 comments

The house is a work of art: Frank Lloyd Wright

https://aeon.co/essays/frank-lloyd-wright-as-a-mirror-of-the-american-condition
66•midnightfish•7h ago•26 comments

Show HN: Travel Hacking Toolkit – Points search and trip planning with AI

https://github.com/borski/travel-hacking-toolkit
47•borski•3h ago•14 comments

We replaced RAG with a virtual filesystem for our AI documentation assistant

https://www.mintlify.com/blog/how-we-built-a-virtual-filesystem-for-our-assistant
259•denssumesh•1d ago•108 comments

Improving my focus by giving up my big monitor

https://ounapuu.ee/posts/2026/04/01/focus/
57•Fudgel•3d ago•68 comments

Post Mortem: axios NPM supply chain compromise

https://github.com/axios/axios/issues/10636
217•Kyro38•1d ago•95 comments

Go on Embedded Systems and WebAssembly

https://tinygo.org/
139•uticus•12h ago•19 comments

The Technocracy Movement of the 1930s

https://donotresearch.substack.com/p/welcome-to-the-technocracy
76•lazydogbrownfox•1d ago•73 comments

How to make a sliding, self-locking, and predator-proof chicken coop door (2020)

https://www.backyardchickens.com/articles/how-to-make-a-sliding-self-locking-and-predator-proof-c...
88•uticus•10h ago•42 comments

Big-Endian Testing with QEMU

https://www.hanshq.net/big-endian-qemu.html
85•jandeboevrie•16h ago•87 comments

The FAA’s flight restriction for drones is an attempt to criminalize filming ICE

https://www.eff.org/deeplinks/2026/04/faas-temporary-flight-restriction-drones-blatant-attempt-cr...
312•detaro•5h ago•84 comments

Fake Fans

https://www.wordsfromeliza.com/p/fake-fans
92•performative•7h ago•18 comments

Charge Robotics (YC S21) Is Hiring Software and Hardware Engineers

https://jobs.ashbyhq.com/charge-robotics
1•banks_h•8h ago

Oracle Files H-1B Visa Petitions Amid Mass Layoffs

https://nationaltoday.com/us/tx/austin/news/2026/04/03/oracle-files-thousands-of-h-1b-visa-petiti...
474•kklisura•9h ago•256 comments

F-15E jet shot down over Iran

https://www.theguardian.com/world/2026/apr/03/us-fighter-jet-confirmed-shot-down-over-iran
435•tjwds•13h ago•987 comments

South Polar Times

https://www.laphamsquarterly.org/roundtable/south-polar-times
21•Thevet•4d ago•0 comments

Build your own Dial-up ISP with a Raspberry Pi

https://www.jeffgeerling.com/blog/2026/build-your-own-dial-up-isp-with-a-raspberry-pi/
127•arjunbajaj•14h ago•29 comments

Bourbon waste could provide next-gen supercapacitor components

https://spectrum.ieee.org/supercapacitor-electrodes-bourbon-waste
26•prabal97•3d ago•14 comments

Why are we still using Markdown?

https://bgslabs.org/blog/why-are-we-using-markdown/
83•veqq•11h ago•151 comments

Age verification on Systemd and Flatpak

https://cybrkyd.com/post/age-verification-on-systemd-and-flatpak/
103•londonanon•10h ago•87 comments

An experimental guide to Answer Engine Optimization

https://mapledeploy.ca/blog/answer-engine-optimization-guide
7•rosslh•2d ago•3 comments

SSH certificates: the better SSH experience

https://jpmens.net/2026/04/03/ssh-certificates-the-better-ssh-experience/
231•jandeboevrie•19h ago•101 comments