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.

Show HN: Vibe coding a bookshelf with Claude Code

https://balajmarius.com/writings/vibe-coding-a-bookshelf-with-claude-code/
130•balajmarius•2h ago•73 comments

What an unprocessed photo looks like

https://maurycyz.com/misc/raw_photo/
1916•zdw•17h ago•316 comments

Kidnapped by Deutsche Bahn

https://www.theocharis.dev/blog/kidnapped-by-deutsche-bahn/
424•JeremyTheo•3h ago•462 comments

Libgodc: Write Go Programs for Sega Dreamcast

https://github.com/drpaneas/libgodc
50•drpaneas•2h ago•8 comments

Show HN: Z80-μLM, a 'Conversational AI' That Fits in 40KB

https://github.com/HarryR/z80ai
317•quesomaster9000•10h ago•77 comments

You can make up HTML tags

https://maurycyz.com/misc/make-up-tags/
391•todsacerdoti•12h ago•137 comments

Feynman's Hughes Lectures: 950 pages of notes

https://thehugheslectures.info/the-lectures/
78•gnubison•5h ago•13 comments

Kubernetes egress control with squid proxy

https://interlaye.red/kubernetes_002degress_002dsquid.html
41•fsmunoz•4h ago•23 comments

Golfing Is Not Rowing

https://taylor.town/golf-vs-rowing
27•surprisetalk•4d ago•18 comments

UK accounting body to halt remote exams amid AI cheating

https://www.theguardian.com/business/2025/dec/29/uk-accounting-remote-exams-ai-cheating-acca
69•beardyw•2h ago•40 comments

Show HN: See what readers who loved your favorite book/author also loved to read

https://shepherd.com/bboy/2025
36•bwb•3h ago•8 comments

Huge Binaries

https://fzakaria.com/2025/12/28/huge-binaries
136•todsacerdoti•10h ago•46 comments

You can't design software you don't work on

https://www.seangoedecke.com/you-cant-design-software-you-dont-work-on/
60•saikatsg•7h ago•10 comments

Developing a Beautiful and Performant Block Editor in Qt C++ and QML

https://rubymamistvalove.com/block-editor
99•michaelsbradley•2d ago•36 comments

My First Meshtastic Network

https://rickcarlino.com/notes/electronics/my-first-meshtastic-network.html
101•rickcarlino•10h ago•42 comments

Unity's Mono problem: Why your C# code runs slower than it should

https://marekfiser.com/blog/mono-vs-dot-net-in-unity/
231•iliketrains•18h ago•125 comments

As AI gobbles up chips, prices for devices may rise

https://www.npr.org/2025/12/28/nx-s1-5656190/ai-chips-memory-prices-ram
229•geox•16h ago•346 comments

Software engineers should be a little bit cynical

https://www.seangoedecke.com/a-little-bit-cynical/
246•zdw•18h ago•169 comments

Show HN: My not-for-profit search engine with no ads, no AI, & all DDG bangs

https://nilch.org
130•UnmappedStack•10h ago•59 comments

Show HN: Spacelist, a TUI for Aerospace window manager

https://github.com/magicmark/spacelist
5•markl42•2d ago•2 comments

Researchers discover molecular difference in autistic brains

https://medicine.yale.edu/news-article/molecular-difference-in-autistic-brains/
167•amichail•17h ago•92 comments

MongoBleed Explained Simply

https://bigdata.2minutestreaming.com/p/mongobleed-explained-simply
224•todsacerdoti•18h ago•99 comments

Linux DAW: Help Linux musicians to quickly and easily find the tools they need

https://linuxdaw.org/
12•prmoustache•3h ago•5 comments

Staying ahead of censors in 2025

https://forum.torproject.org/t/staying-ahead-of-censors-in-2025-what-weve-learned-from-fighting-c...
191•ggeorgovassilis•9h ago•205 comments

PySDR: A Guide to SDR and DSP Using Python

https://pysdr.org/content/intro.html
200•kklisura•19h ago•11 comments

Fast GPU Interconnect over Radio

https://spectrum.ieee.org/rf-over-fiber
52•montroser•12h ago•6 comments

Spherical Cow

https://lib.rs/crates/spherical-cow
115•Natfan•16h ago•16 comments

Asking Gemini 3 to generate Brainfuck code results in an infinite loop

https://teodordyakov.github.io/brainfuck-agi/
75•TeodorDyakov•6h ago•73 comments

Koine

https://github.com/pattern-zones-co/koine
21•handfuloflight•3d ago•8 comments

Why India's big cities are becoming unliveable

https://www.bbc.com/news/articles/cp9kp2kx329o
9•vinni2•57m ago•1 comments