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

Comments

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

Olmo 3: Charting a path through the model flow to lead open-source AI

https://allenai.org/blog/olmo3
267•mseri•9h ago•59 comments

Building a Minimal Viable Armv7 Emulator from Scratch

https://xnacly.me/posts/2025/building-a-minimal-viable-armv7-emulator/
36•xnacly•2h ago•6 comments

It's hard to build an oscillator

https://lcamtuf.substack.com/p/its-hard-to-build-an-oscillator
153•chmaynard•8h ago•59 comments

Making a Small RPG

https://jslegenddev.substack.com/p/making-a-small-rpg
36•ibobev•2h ago•10 comments

Scientists now know that bees can process time, a first in insects

https://www.cnn.com/2025/11/12/science/bees-visual-stimulus-study-scli-intl
105•Brajeshwar•6d ago•47 comments

FAWK: LLMs can write a language interpreter

https://martin.janiczek.cz/2025/11/21/fawk-llms-can-write-a-language-interpreter.html
136•todsacerdoti•5h ago•112 comments

Nano Banana Pro

https://blog.google/technology/ai/nano-banana-pro/
1154•meetpateltech•1d ago•639 comments

I converted a rotary phone into a meeting handset

https://www.stavros.io/posts/i-converted-a-rotary-phone-into-a-meeting-handset/
95•todsacerdoti•1w ago•49 comments

Open Source and Local Code Mode MCP in Deno Sandboxes

https://portofcontext.com
55•pmkelly4444•1w ago•16 comments

Android and iPhone users can now share files, starting with the Pixel 10

https://blog.google/products/android/quick-share-airdrop/
773•abraham•23h ago•469 comments

WebAssembly from the Ground Up

https://wasmgroundup.com/
196•gurjeet•6d ago•44 comments

FEX-emu – Run x86 applications on ARM64 Linux devices

https://fex-emu.com/
243•open-paren•1w ago•100 comments

Roundtable (YC S23) Is Hiring Two Sales Development Representatives (SDRs)

https://www.ycombinator.com/companies/roundtable/jobs/irJTEsg-sales-development-representative
1•timshell•4h ago

Ancient Roman Glass Reveals a Hidden "Language"

https://nautil.us/ancient-roman-glass-reveals-a-hidden-language-1247932/
18•DrierCycle•6d ago•1 comments

My Favorite Math Problem

https://bytesauna.com/post/my-favorite-math-problem
13•mapehe•4d ago•4 comments

Is C++26 getting destructive move semantics?

https://stackoverflow.com/questions/79817124/is-c26-getting-destructive-move-semantics
13•signa11•1h ago•3 comments

Show HN: 32V TENS device from built from scratch under $100

https://littlemountainman.github.io/2025/11/17/tens/
52•autonomydriver•4d ago•10 comments

The Qtile Window Manager: A Python-Powered Tiling Experience

https://tech.stonecharioteer.com/posts/2025/qtile-window-manager/
42•stonecharioteer•8h ago•13 comments

EXIF orientation info in PNGs isn't used for image-orientation

https://bugzilla.mozilla.org/show_bug.cgi?id=1627423
56•justin-reeves•2h ago•48 comments

New OS aims to provide (some) compatibility with macOS

https://github.com/ravynsoft/ravynos
286•kasajian•19h ago•136 comments

Over-regulation is doubling the cost

https://rein.pk/over-regulation-is-doubling-the-cost
284•bilsbie•17h ago•528 comments

Hilbert space: Treating functions as vectors

https://eli.thegreenplace.net/2025/hilbert-space-treating-functions-as-vectors/
114•signa11•1w ago•42 comments

Show HN: Search London StreetView panoramas by text

https://london.publicinsights.uk
6•dfworks•21h ago•6 comments

HP and Dell disable HEVC support built into their laptops' CPUs

https://arstechnica.com/gadgets/2025/11/hp-and-dell-disable-hevc-support-built-into-their-laptops...
176•latexr•6h ago•101 comments

Okta's NextJS-0auth troubles

https://joshua.hu/ai-slop-okta-nextjs-0auth-security-vulnerability
347•ramimac•3d ago•133 comments

Data-at-Rest Encryption in DuckDB

https://duckdb.org/2025/11/19/encryption-in-duckdb
206•chmaynard•20h ago•22 comments

Free interactive tool that shows you how PCIe lanes work on motherboards

https://mobomaps.com
243•tagyro•2d ago•57 comments

NTSB Preliminary Report – UPS Boeing MD-11F Crash [pdf]

https://www.ntsb.gov/Documents/Prelimiary%20Report%20DCA26MA024.pdf
195•gregsadetsky•21h ago•207 comments

The Lions Operating System

https://lionsos.org
190•plunderer•21h ago•57 comments

Adversarial poetry as a universal single-turn jailbreak mechanism in LLMs

https://arxiv.org/abs/2511.15304
341•capgre•1d ago•174 comments