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.

The open web isn't dying, we're killing it

https://ouvre-boite.com/the-open-web-isnt-dying-were-killing-it/
55•benwerd•2h ago•32 comments

Google releases Gemma 4 open models

https://deepmind.google/models/gemma/gemma-4/
1238•jeffmcjunkin•11h ago•364 comments

Decisions that eroded trust in Azure – by a former Azure Core engineer

https://isolveproblems.substack.com/p/how-microsoft-vaporized-a-trillion
446•axelriet•12h ago•161 comments

Tailscale's new macOS home

https://tailscale.com/blog/macos-notch-escape
367•tosh•9h ago•182 comments

C89cc.sh – standalone C89/ELF64 compiler in pure portable shell

https://gist.github.com/alganet/2b89c4368f8d23d033961d8a3deb5c19
56•gaigalas•1d ago•10 comments

Artemis II's toilet is a moon mission milestone

https://www.scientificamerican.com/article/artemis-iis-toilet-is-a-moon-mission-milestone/
167•1659447091•1d ago•69 comments

Cursor 3

https://cursor.com/blog/cursor-3
327•adamfeldman•9h ago•268 comments

Qwen3.6-Plus: Towards real world agents

https://qwen.ai/blog?id=qwen3.6
457•pretext•13h ago•163 comments

Good ideas do not need lots of lies in order to gain public acceptance (2008)

https://blog.danieldavies.com/2004/05/d-squared-digest-one-minute-mba.html
190•sedev•10h ago•87 comments

Post Mortem: axios NPM supply chain compromise

https://github.com/axios/axios/issues/10636
47•Kyro38•4h ago•24 comments

The beginning of programming as we'll know it?

https://bitsplitting.org/2026/04/01/the-beginning-of-programming-as-well-know-it/
45•zdw•1d ago•26 comments

George Goble has died

https://www.legacy.com/us/obituaries/wlfi/name/george-goble-obituary?id=61144779
125•finaard•9h ago•22 comments

Show HN: Made a little Artemis II tracker

https://artemis-ii-tracker.com/
59•codingmoh•4h ago•26 comments

LinkedIn is searching your browser extensions

https://browsergate.eu/
1602•digitalWestie•15h ago•692 comments

The Joy of Numbered Streets

https://humantransit.org/2026/03/the-joy-of-numbered-streets-or-call-it-39th-avenue.html
21•dmit•5d ago•4 comments

ParadeDB (YC S23) Is Hiring Database Internal Engineers (Rust)

https://paradedb.notion.site/
1•philippemnoel•5h ago

Significant progress made on Xbox 360 recompilation

https://readonlymemo.com/rexglue-xbox-360-recompilation-interview/
78•tetrisgm•4d ago•15 comments

Why free stuff makes us irrational

https://thehustle.co/why-free-stuff-makes-us-irrational
13•Anon84•4d ago•3 comments

JSON Canvas Spec (2024)

https://jsoncanvas.org/spec/1.0/
92•tobr•3d ago•29 comments

OpenAI Acquires TBPN

https://openai.com/index/openai-acquires-tbpn/
173•surprisetalk•10h ago•141 comments

Memo: A language that remembers only the last 12 lines of code

https://danieltemkin.com/Esolangs/Memo/
34•notem•5h ago•9 comments

Inside Nepal's Fake Rescue Racket

https://kathmandupost.com/money/2026/03/27/inside-nepal-s-fake-rescue-racket
263•lode•16h ago•117 comments

Maze Algorithms (1997)

https://www.astrolog.org/labyrnth/algrithm.htm
22•marukodo•2d ago•4 comments

Tor Alva: The Tallest 3D-Printed Building in the World

https://cacm.acm.org/blogcacm/tor-alva-the-tallest-3d-printed-building-in-the-world/
15•sohkamyung•4h ago•3 comments

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

https://bsky.app/profile/nikigrayson.com/post/3miik2wzosk25
351•mooreds•13h ago•264 comments

Magic the Gathering Deck Shuffler

https://mtg.jessitron.honeydemo.io/
47•mooreds•3d ago•14 comments

A Few Good Magazines From the 70s and 80s

https://www.bi6.us/CO/MG.HTML
38•OhMeadhbh•4h ago•9 comments

Prefer do notation over Applicative operators when assembling records (2024)

https://haskellforall.com/2024/05/prefer-do-notation-over-applicative
26•wazHFsRy•2d ago•4 comments

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

https://undark.org/2026/04/01/sweden-schools-books/
770•novaRom•17h ago•388 comments

Queueing Requests Queues Your Capacity Problems, Too

https://pushtoprod.substack.com/p/queueing-requests-queues-your-capacity-problems-too
24•mhawthorne•3d ago•10 comments