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

Comments

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

Apple releases open-source model that instantly turns 2D photos into 3D views

https://github.com/apple/ml-sharp
154•SG-•3h ago•53 comments

Show HN: Ez FFmpeg – Video editing in plain English

http://npmjs.com/package/ezff
232•josharsh•7h ago•96 comments

Splice a Fibre

https://react-networks-lib.rackout.net/fibre
47•matt-p•4h ago•17 comments

How uv got so fast

https://nesbitt.io/2025/12/26/how-uv-got-so-fast.html
1064•zdw•22h ago•360 comments

Show HN: Mysti – Claude, Codex, and Gemini debate your code, then synthesize

https://github.com/DeepMyst/Mysti
79•bahaAbunojaim•4d ago•75 comments

Intertapes – collection of found cassette tapes from different locations

https://intertapes.net/
51•wallflower•6d ago•6 comments

Mruby: Ruby for Embedded Systems

https://github.com/mruby/mruby
84•nateb2022•5d ago•23 comments

Faster practical modular inversion

https://purplesyringa.moe/blog/faster-practical-modular-inversion/
29•todsacerdoti•6d ago•3 comments

Floor796

https://floor796.com/
13•krtkush•2h ago•0 comments

Ask HN: Resources to get better at outbound sales?

22•sieep•5d ago•8 comments

Detect memory leaks of C extensions with psutil and psleak

https://gmpy.dev/blog/2025/psutil-heap-introspection-apis
24•grodola•3d ago•6 comments

Exe.dev

https://exe.dev/
331•achairapart•16h ago•183 comments

Some Junk Theorems in Lean

https://github.com/James-Hanson/junk-theorems-in-lean
56•saithound•4d ago•39 comments

Always bet on text (2014)

https://graydon2.dreamwidth.org/193447.html
291•jesseduffield•16h ago•139 comments

An exploration of playing three generations of windows games on macOS

https://carette.xyz/posts/deep_dive_into_crossover/
13•LucidLynx•1w ago•4 comments

QNX Self-Hosted Developer Desktop

https://devblog.qnx.com/qnx-self-hosted-developer-desktop-initial-release/
215•transpute•14h ago•116 comments

The best things and stuff of 2025

https://blog.fogus.me/2025/12/23/the-best-things-and-stuff-of-2025.html
325•adityaathalye•4d ago•45 comments

Langjam-Gamejam Devlog: Making a language, compiler, VM and 5 games in 52 hours

https://github.com/Syn-Nine/gar-lang/blob/main/DEVLOG.md
77•suioir•5d ago•7 comments

Package managers keep using Git as a database, it never works out

https://nesbitt.io/2025/12/24/package-managers-keep-using-git-as-a-database.html
702•birdculture•1d ago•387 comments

Publishing your work increases your luck

https://github.com/readme/guides/publishing-your-work
196•magoghm•15h ago•68 comments

NMH BASIC

https://t3x.org/nmhbasic/index.html
3•AlexeyBrin•1h ago•0 comments

More dynamic cronjobs

https://george.mand.is/2025/09/more-dynamic-cronjobs/
69•0928374082•9h ago•17 comments

Verdichtung

https://alexeygy.github.io/blog/verdichtung/
19•kenty•7h ago•7 comments

OrangePi 6 Plus Review: The New Frontier for ARM64 SBC Performance

https://boilingsteam.com/orange-pi-6-plus-review/
31•ekianjo•3h ago•26 comments

Experts explore new mushroom which causes fairytale-like hallucinations

https://nhmu.utah.edu/articles/experts-explore-new-mushroom-which-causes-fairytale-hallucinations
433•astronads•22h ago•259 comments

One million (small web) screenshots

https://nry.me/posts/2025-10-09/small-web-screenshots/
128•squidhunter•5d ago•17 comments

Show HN: Witr – Explain why a process is running on your Linux system

https://github.com/pranshuparmar/witr
400•pranshuparmar•1d ago•80 comments

How Lewis Carroll computed determinants (2023)

https://www.johndcook.com/blog/2023/07/10/lewis-carroll-determinants/
194•tzury•20h ago•53 comments

Inside the proton, the ‘most complicated thing you could possibly imagine’ (2022)

https://www.quantamagazine.org/inside-the-proton-the-most-complicated-thing-imaginable-20221019/
90•tzury•13h ago•25 comments

Researchers develop a camera that can focus on different distances at once

https://engineering.cmu.edu/news-events/news/2025/12/19-perfect-shot.html
69•gnabgib•3d ago•31 comments