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.

LinkedIn Is Illegally Searching Your Computer

https://browsergate.eu/
821•digitalWestie•2h ago•384 comments

Qwen3.6-Plus: Towards Real World Agents

https://qwen.ai/blog?id=qwen3.6
135•pretext•1h ago•52 comments

Delve allegedly forked an open-source tool and sold it as its own

https://techcrunch.com/2026/04/01/the-reputation-of-troubled-yc-startup-delve-has-gotten-even-worse/
53•nickvec•1h ago•22 comments

Lemonade by AMD: a fast and open source local LLM server using GPU and NPU

https://lemonade-server.ai
232•AbuAssar•5h ago•57 comments

Inside Nepal's Fake Rescue Racket

https://kathmandupost.com/money/2026/03/27/inside-nepal-s-fake-rescue-racket
140•lode•4h ago•62 comments

Sweden goes back to basics, swapping screens for books in the classroom

https://undark.org/2026/04/01/sweden-schools-books/
462•novaRom•5h ago•233 comments

IBM Announces Strategic Collaboration with Arm

https://newsroom.ibm.com/2026-04-02-ibm-announces-strategic-collaboration-with-arm-to-shape-the-f...
202•bonzini•7h ago•126 comments

Significant Raise of Reports

https://lwn.net/Articles/1065620/
147•stratos123•6h ago•74 comments

'Backrooms' and the Rise of the Institutional Gothic

https://thereader.mitpress.mit.edu/backrooms-and-the-rise-of-the-institutional-gothic/
43•anarbadalov•2h ago•16 comments

Artemis II will use laser beams to live-stream 4K moon footage at 260 Mbps

https://www.tomshardware.com/networking/artemis-ii-will-use-laser-beams-to-live-stream-4k-moon-fo...
48•speckx•1h ago•9 comments

Artemis computer running two instances of MS outlook; they can't figure out why

https://bsky.app/profile/nikigrayson.com/post/3miik2wzosk25
53•mooreds•58m ago•25 comments

The SpaceX IPO: retail investor notes

https://report.bearblog.dev/the-spacex-ipo-will-be-the-perfect-storm-of-retail-investor-fallacies/
51•u1hcw9nx•4h ago•35 comments

Bringing Clojure programming to Enterprise (2021)

https://blogit.michelin.io/clojure-programming/
135•smartmic•7h ago•73 comments

Gone (Almost) Phishin'

https://ma.tt/2026/03/gone-almost-phishin/
123•luu•2d ago•59 comments

Email obfuscation: What works in 2026?

https://spencermortensen.com/articles/email-obfuscation/
268•jaden•12h ago•79 comments

Enabling Codex to Analyze Two Decades of Hacker News Data

https://modolap.com/publication/hn-analysis-1
49•ronfriedhaber•5h ago•17 comments

On the trail of ancient art, deep in the Sahara

https://www.ft.com/content/524ed21e-5c35-489e-ae0b-90d40b4cf28a
9•bookofjoe•2d ago•1 comments

Show HN: I built a DNS resolver from scratch in Rust – no DNS libraries

https://github.com/razvandimescu/numa
57•rdme•5h ago•34 comments

Emacs-libgterm: Terminal emulator for Emacs using libghostty-vt

https://github.com/rwc9u/emacs-libgterm
49•signa11•4d ago•15 comments

Mercor says it was hit by cyberattack tied to compromise LiteLLM

https://techcrunch.com/2026/03/31/mercor-says-it-was-hit-by-cyberattack-tied-to-compromise-of-ope...
113•jackson-mcd•1d ago•34 comments

Telli (YC F24) is hiring engineers, designers, and more (on-site, Berlin)

http://hi.telli.com/join-us
1•sebselassie•8h ago

Quantum computing bombshells that are not April Fools

https://scottaaronson.blog/?p=9665
237•Strilanc•15h ago•74 comments

Steam on Linux Use Skyrocketed Above 5% in March

https://www.phoronix.com/news/Steam-On-Linux-Tops-5p
611•hkmaxpro•12h ago•283 comments

EmDash – A spiritual successor to WordPress that solves plugin security

https://blog.cloudflare.com/emdash-wordpress/
640•elithrar•23h ago•479 comments

Renewables reached nearly 50% of global electricity capacity last year

https://www.theregister.com/2026/04/01/renewables_generated_nearly_half_global_power/
11•Growtika•40m ago•0 comments

Artemis II Launch Day Updates

https://www.nasa.gov/blogs/missions/2026/04/01/live-artemis-ii-launch-day-updates/
1022•apitman•22h ago•898 comments

Built a cheap DIY fan controller because my motherboard never had working PWM

https://www.himthe.dev/blog/msi-forgot-my-fans
59•bobsterlobster•2d ago•21 comments

DRAM pricing is killing the hobbyist SBC market

https://www.jeffgeerling.com/blog/2026/dram-pricing-is-killing-the-hobbyist-sbc-market/
576•ingve•18h ago•502 comments

A new C++ back end for ocamlc

https://github.com/ocaml/ocaml/pull/14701
222•glittershark•16h ago•19 comments

Fast and Gorgeous Erosion Filter

https://blog.runevision.com/2026/03/fast-and-gorgeous-erosion-filter.html
215•runevision•2d ago•21 comments