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

RuBee

https://computer.rip/2025-11-22-RuBee.html
88•Sniffnoy•3h ago•5 comments

The Cloudflare outage was a good thing

https://gist.github.com/jbreckmckye/32587f2907e473dd06d68b0362fb0048
72•radeeyate•3h ago•39 comments

Fran Sans – font inspired by San Francisco light rail displays

https://emilysneddon.com/fran-sans-essay
779•ChrisArchitect•11h ago•102 comments

Ask HN: Hearing aid wearers, what's hot?

110•pugworthy•3h ago•38 comments

The Rust Performance Book (2020)

https://nnethercote.github.io/perf-book/
57•vinhnx•4d ago•5 comments

Having Fun with Complex Numbers: A Real-Life Journey for Upper Elementary Studen

https://mathwonder.org/Having-Fun-with-Complex-Numbers/
16•smm16r•5d ago•6 comments

Disney Lost Roger Rabbit

https://pluralistic.net/2025/11/18/im-not-bad/
47•leephillips•5d ago•1 comments

Native Secure Enclave backed SSH keys on macOS

https://gist.github.com/arianvp/5f59f1783e3eaf1a2d4cd8e952bb4acf
355•arianvanp•12h ago•150 comments

We stopped roadmap work for a week and fixed 189 bugs

https://lalitm.com/fixits-are-good-for-the-soul/
111•signa11•3h ago•80 comments

New magnetic component discovered in the Faraday effect after nearly 2 centuries

https://phys.org/news/2025-11-magnetic-component-faraday-effect-centuries.html
110•rbanffy•4d ago•29 comments

µcad: New open source programming language that can generate 2D sketches and 3D

https://microcad.xyz/
133•todsacerdoti•9h ago•37 comments

A free tool that stuns LLMs with thousands of invisible Unicode characters

https://gibberifier.com
28•wdpatti•3h ago•14 comments

Japan's gamble to turn island of Hokkaido into global chip hub

https://www.bbc.com/news/articles/c8676qpxgnqo
20•1659447091•3h ago•6 comments

Passing the Torch – My Last Root DNSSEC KSK Ceremony as Crypto Officer 4

https://technotes.seastrom.com/2025/11/23/passing-the-torch.html
35•greyface-•3h ago•6 comments

Calculus for Mathematicians, Computer Scientists, and Physicists [pdf]

https://mathcs.holycross.edu/~ahwang/print/calc.pdf
275•o4c•13h ago•59 comments

A Unified Theory of Ego, Empathy, and Humility at Work

https://matthogg.fyi/a-unified-theory-of-ego-empathy-and-humility-at-work/
27•mrmatthogg•4h ago•0 comments

Show HN: I wrote a minimal memory allocator in C

https://github.com/t9nzin/memory
71•t9nzin•7h ago•19 comments

Racket v9.0

https://blog.racket-lang.org/2025/11/racket-v9-0.html
302•Fice•16h ago•100 comments

A desktop app for isolated, parallel agentic development

https://github.com/coder/mux
67•mercat•7h ago•24 comments

Band of Holes

https://en.wikipedia.org/wiki/Band_of_Holes
18•user070223•4d ago•2 comments

Liva AI (YC S25) Is Hiring

https://www.ycombinator.com/companies/liva-ai/jobs/fYP8QP8-growth-intern
1•ashlleymo•7h ago

Iowa City made its buses free. Traffic cleared, and so did the air

https://www.nytimes.com/2025/11/18/climate/iowa-city-free-buses.html
306•bookofjoe•8h ago•348 comments

Show HN: Gitlogue – A terminal tool that replays your Git commits with animation

https://github.com/unhappychoice/gitlogue
121•unhappychoice•5d ago•15 comments

A time-travelling door bug in Half Life 2

https://mastodon.gamedev.place/@TomF/115589875974658415
381•AshleysBrain•2d ago•52 comments

Particle Life

https://sandbox-science.com/particle-life
56•StromFLIX•8h ago•6 comments

Mount Proton Drive on Linux using rclone and systemd

https://github.com/dadtronics/protondrive-linux
121•cf100clunk•14h ago•47 comments

Terence Tao: At the Erdos problem website, AI assistance now becoming routine

https://mathstodon.xyz/@tao/115591487350860999
219•dwohnitmok•1d ago•39 comments

Sunsetting Supermaven

https://supermaven.com/blog/sunsetting-supermaven
41•vednig•7h ago•20 comments

Insurers retreat from AI cover as risk of multibillion-dollar claims mounts

https://www.ft.com/content/abfe9741-f438-4ed6-a673-075ec177dc62
27•gwintrob•1h ago•2 comments

An Economy of AI Agents

https://arxiv.org/abs/2509.01063
110•nerder92•1d ago•66 comments