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•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.

OpenRouter raises $113M Series B

https://openrouter.ai/announcements/series-b
116•freeCandy•1h ago•45 comments

Zig ELF Linker Improvements Devlog

https://ziglang.org/devlog/2026/#2026-05-30
56•kristoff_it•1h ago•8 comments

Voxel Space

https://s-macke.github.io/VoxelSpace/
168•davikr•4h ago•37 comments

Microcode inside the Intel 8087 floating-point chip: register exchange

https://www.righto.com/2026/05/microcode-inside-intel-8087-floating.html
27•pwg•1h ago•5 comments

Openrsync: An implementation of rsync, by the OpenBSD team

https://github.com/kristapsdz/openrsync
230•sph•7h ago•101 comments

Werner Herzog in conversation with Paul Cronin (2014)

https://fsgworkinprogress.com/2014/09/26/insignificant-bullets-evil-poachers-and-l-a-culture/
36•Michelangelo11•2h ago•13 comments

Pandoc Templates

https://pandoc-templates.org/
292•ankitg12•8h ago•41 comments

Navier-Stokes fluid simulation explained with Godot game engine

https://myzopotamia.dev/navier-stokes-fluid-simulation-explained-with-godot
122•myzek•3d ago•21 comments

It Takes Two Neurons to Ride a Bicycle

https://fermatslibrary.com/s/it-takes-two-neurons-to-ride-a-bicycle#email-newsletter
55•malshe•4d ago•16 comments

Downdetector and Speedtest sold to Accenture for $1.2B

https://www.theverge.com/tech/889234/downdetector-ookla-speedtest-sold-accenture
83•Garbage•2h ago•48 comments

Zig: Build System Reworked

https://ziglang.org/devlog/2026/#2026-05-26
282•tosh•10h ago•176 comments

IXI's autofocusing lenses are almost ready to replace multifocal glasses

https://www.engadget.com/wearables/ixis-autofocusing-lenses-multifocal-glasses-ces-2026-212608427...
108•amichail•2d ago•45 comments

Show HN: Helios – what plug-in solar could generate for any address in Britain

https://helios.southlondonscientific.com/
83•ruaraidh•7h ago•29 comments

Let's talk about EU Sovereignty (2025)

https://musings.martyn.berlin/lets-talk-about-eu-sovereignty
4•mooreds•51m ago•0 comments

What Happened to the Locusts?

https://explosion-scratch.github.io/locusts/
149•explosion-s•4d ago•31 comments

SQLite is all you need for durable workflows

https://obeli.sk/blog/sqlite-is-all-you-need-for-durable-workflows/
644•tomasol•1d ago•341 comments

Testing the WWI concrete ships and WWII concrete barges

https://thecretefleet.com/blog/f/testing-the-wwi-concrete-ships-and-wwii-concrete-barges
30•surprisetalk•1d ago•8 comments

Memory decline after menopause linked to loss of estrogen production in brain

https://news.northwestern.edu/stories/2026/05/memory-decline-after-menopause-linked-to-loss-of-es...
99•gmays•4h ago•43 comments

Stateless Actors

https://www.massicotte.org/stateless-actors/
7•frizlab•1d ago•1 comments

A Probabilistic Algorithm for Repairing All Roads in Lebanon via Papal Visits (2025)

https://sigbovik.org/2026/proceedings.pdf#%5B%7B%22num%22%3A13%2C%22gen%22%3A0%7D%2C%7B%22name%22...
59•kmstout•3h ago•3 comments

Notes from the Mistral AI Now Summit

https://koenvangilst.nl/lab/mistral-ai-now-summit
435•vnglst•1d ago•190 comments

MCP is dead?

https://www.quandri.io/engineering-blog/mcp-is-dead
357•nadis•19h ago•340 comments

Macsurf, "modern" web browser for macOS 9

https://github.com/mplsllc/macsurf
91•gattilorenz•11h ago•20 comments

Ask HN: What Is the State of App Development in 2026?

42•karakoram•2h ago•25 comments

Snowboard Kids 2 is 100% Decompiled

https://blog.chrislewis.au/snowboard-kids-2-is-100-decompiled/
265•GaggiX•3d ago•101 comments

The Last Technical Interview

https://steve-yegge.medium.com/the-last-technical-interview-bc13ddcf4564
209•headalgorithm•22h ago•202 comments

Print with dozens of colors: Our new open-source ColorMix for PrusaSlicer

https://blog.prusa3d.com/our-new-open-source-colormix-model-in-prusaslicer-and-easyprint_136079/
209•rented_mule•4d ago•67 comments

The dead economy theory

https://www.owenmcgrann.com/p/the-dead-economy-theory
1203•WillDaSilva•1d ago•1319 comments

Floor and Ceil versus Denormals on CPU and GPU

https://asawicki.info/news_1802_floor_and_ceil_versus_denormals_on_cpu_and_gpu
40•ibobev•4d ago•15 comments

It's hard to justify buying a Framework 12

https://www.jeffgeerling.com/blog/2026/its-hard-to-justify-framework-12/
365•watermelon0•1d ago•590 comments