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

Comments

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

Anthropic Acquires Stainless

https://www.anthropic.com/news/anthropic-acquires-stainless
96•tomeraberbach•1h ago•57 comments

We stopped AI bot spam in our GitHub repo using Git's –author flag

https://archestra.ai/blog/only-responsible-ai
235•ildari•2h ago•102 comments

Show HN: Files.md – Open-source alternative to Obsidian

https://github.com/zakirullin/files.md
339•zakirullin•4h ago•186 comments

The Quiet Renovation at Bitwarden

https://blog.ppb1701.com/the-quiet-renovation-at-bitwarden
249•DaSHacka•1d ago•122 comments

Elon Musk has lost his lawsuit against Sam Altman and OpenAI

https://techcrunch.com/2026/05/18/elon-musk-has-lost-his-lawsuit-against-sam-altman-and-openai/
108•nycdatasci•28m ago•34 comments

Two computers, one monitor, zero fiddling – Alex Plescan

https://alexplescan.com/posts/2025/08/16/kvm/
46•ankitg12•2d ago•29 comments

Project Glasswing: what Mythos showed us

https://blog.cloudflare.com/cyber-frontier-models/
160•Fysi•4h ago•65 comments

Iran Starts Bitcoin-Backed Ship Insurance for Hormuz Strait

https://www.bloomberg.com/news/articles/2026-05-18/iran-starts-bitcoin-backed-shipping-insurance-...
48•srameshc•40m ago•36 comments

What Is Date:Italy?

http://aesthetikx.info/blog/date_italy.html
56•jollyjerry•2d ago•17 comments

1024000^2 Blocks, 2B2T Minecraft Server World Download Project, and Discoveries

https://github.com/2b2tplace/1m_release
96•exploraz•3h ago•48 comments

Voice AI Systems Are Vulnerable to Hidden Audio Attacks

https://spectrum.ieee.org/voice-ai-audio-attacks
62•SVI•6h ago•17 comments

The Aperiodic Table

https://blog.jgc.org/2026/05/the-aperiodic-table.html
60•jgrahamc•2d ago•24 comments

Qwen 3.7 Preview

https://twitter.com/Alibaba_Qwen/status/2056403591464984753
62•theanonymousone•1h ago•23 comments

When Kierkegaard Got Cancelled

https://www.plough.com/en/topics/faith/discipleship/when-kierkegaard-got-cancelled
51•bookofjoe•6h ago•17 comments

Cursor Introduces Composer 2.5

https://twitter.com/cursor_ai/status/2056415413077233983
29•asar•45m ago•7 comments

The Fil-C Optimized Calling Convention

https://fil-c.org/calling_convention
6•pizlonator•1d ago•0 comments

'We mould trees to grow into the shape of chairs'

https://www.bbc.co.uk/news/articles/cvg0yy3gp71o
159•bauc•5h ago•38 comments

Learn Harness Engineering

https://walkinglabs.github.io/learn-harness-engineering/en/
48•redbell•5h ago•2 comments

It is time to give up the dualism introduced by the debate on consciousness

https://www.noemamag.com/there-is-no-hard-problem-of-consciousness/
237•ahalbert4•15h ago•588 comments

Actually, democracy dies in H.R.

https://www.nytimes.com/2026/05/18/world/americas/actually-democracy-dies-in-hr.html
195•mitchbob•4h ago•132 comments

GenCAD

https://gencad.github.io/
416•dagenix•20h ago•115 comments

Linux security mailing list 'almost unmanageable'

https://www.theregister.com/security/2026/05/18/linus-torvalds-says-ai-powered-bug-hunters-have-m...
160•jonbaer•5h ago•79 comments

Show HN: InsForge – Open-source Heroku for coding agents

https://github.com/InsForge/InsForge
14•mrcoldbrew•2h ago•2 comments

Garry Tan, the CEO of venture YC, accused me of unethical reporting

https://radleybalko.substack.com/p/truth-power-and-honest-journalism
67•gok•2h ago•0 comments

Porting my 3D points renderer on a ZX Spectrum 48K

https://github.com/ttsiodras/3D-on-a-ZX-Spectrum-48K/
64•ttsiodras•1d ago•9 comments

Crystals found inside wreckage from the first nuclear bomb test

https://www.scientificamerican.com/article/strange-crystals-found-inside-wreckage-from-the-first-...
155•jumploops•2d ago•71 comments

Enough with the AI FOMO, go slow-mo, says Domo CDO

https://www.theregister.com/ai-ml/2026/05/17/enough-with-the-ai-fomo-go-slow-mo-says-domo-cdo/524...
123•Bender•5h ago•67 comments

Don't answer the first question

https://lalitm.com/post/dont-answer-the-first-question/
60•lalitmaganti•8h ago•36 comments

The foundations of a provably secure operating system (PSOS) (1979) [pdf]

http://www.csl.sri.com/users/neumann/psos.pdf
94•rurban•8h ago•59 comments

Show HN: Auto-identity-remove – Automated data broker opt-out runner for macOS

https://github.com/stephenlthorn/auto-identity-remove
306•stephenlthorn•6h ago•122 comments