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•1y ago

Comments

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

Chemistry behind the Garden Grove chemical tank

https://www.science.org/content/blog-post/methyl-methacrylate-tank
139•nooks•3h ago•47 comments

A few interesting modern pixel fonts

https://unsung.aresluna.org/a-few-interesting-modern-pixel-fonts/
183•zdw•1d ago•41 comments

I Bypassed Adobe and Microsoft to Build a Git-Tracked Book Production Pipeline

https://www.djspeckhals.com/posts/2026-05-22-how-i-bypassed-adobe-and-microsoft-to-build-a-git-tr...
118•dustin1114•4d ago•31 comments

The worst job interview I ever had

https://www.oliverio.dev/blog/the-worst-job-interview-i-had
35•oliverio•2h ago•13 comments

C array types are weird

https://anselmschueler.com/blogposts/2025-c-pointers/
24•signa11•1d ago•7 comments

Big tech's anti-labor playbook has come for Wikipedia

https://medium.com/@jakeorlowitz/wikipedia-is-doing-the-capitalist-thing-56a393232943
111•cdrnsf•2h ago•49 comments

Rosalind: A genomics toolkit in Rust running whole-genome pipelines on a laptop

https://github.com/logannye/rosalind
107•samuell•5d ago•26 comments

Spain blocks prediction markets Polymarket, Kalshi over lack of gambling licence

https://www.reuters.com/business/spain-blocks-prediction-markets-polymarket-kalshi-over-lack-gamb...
681•thm•9h ago•323 comments

The Steinwinter Supercargo

https://www.thedrive.com/article/12603/the-forgotten-steinwinter-supercargo-is-unlike-anything-on...
30•itronitron•3d ago•1 comments

Dropbox CEO Drew Houston to step down

https://www.cnbc.com/2026/05/26/dropbox-ceo-drew-houston-ashraf-alkarmi.html
241•aghuang•9h ago•285 comments

Launch HN: Minicor (YC P26) – Windows desktop automations at scale

https://www.minicor.com/
63•fchishtie•7h ago•44 comments

The Ballad of TIGIT

https://www.owlposting.com/p/the-ballad-of-tigit
86•crescit_eundo•6h ago•16 comments

A Portentous Reunion

https://bcantrill.dtrace.org/2026/05/25/a-portentous-reunion/
7•cafkafk•16h ago•1 comments

C64 Basic: Game Map Overhead “Camera View”

https://retrogamecoders.com/overhead-camera-view/
69•ibobev•8h ago•10 comments

What color is your function? (2015)

https://journal.stuffwithstuff.com/2015/02/01/what-color-is-your-function/
81•tosh•6h ago•92 comments

The real cost of owning a home

https://ericturner.dev/posts/cost-of-home-ownership/
208•ggcr•6h ago•508 comments

Sage Care (YC S24) Is Hiring Software Engineers

https://www.ycombinator.com/companies/sagecare/jobs/xtloH8r-senior-software-engineer
1•ian-gillis•5h ago

Outsourcing plus local AI will soon become more economical vs. frontier labs

https://www.signalbloom.ai/posts/outsourcing-plus-localai-will-soon-become-more-economical-vs-fro...
219•GodelNumbering•10h ago•240 comments

DynIP – Dynamic DNS with RFC 2136, IPv6, DNSSEC, and BYOD

https://dynip.dev/
308•dynip•15h ago•116 comments

RescueRadar – UK Emergency Services Flight Tracking Since 2013

https://rescueradar.co.uk/about
3•dp-hackernews•2d ago•0 comments

Are we self-sovereign PKI yet?

https://buffrr.dev/blog/are-we-self-sovereign-pki-yet/
64•ca98am79•4d ago•32 comments

Use boring languages with LLMs

https://jry.io/writing/use-boring-languages-with-llms/
141•evakhoury•4d ago•110 comments

Opaque Types in Python

https://blog.glyph.im/2026/05/opaque-types-in-python.html
102•lumpa•3d ago•46 comments

Performance of Rust Language [pdf]

https://github.com/yugr/rust-slides/
120•tanelpoder•23h ago•87 comments

Netherlands blocks US takeover of vital digital supplier

https://www.politico.eu/article/netherlands-blocks-us-takeover-vital-digital-supplier/
493•vrganj•10h ago•193 comments

Don't Subscribe So Casually

https://thebestworstcase.substack.com/p/dont-subscribe-so-casually
102•shmublu•7h ago•70 comments

Earthion: A New Mega Drive-Style Shoot-Em-Up

https://earthiongame.com/
135•MrBuddyCasino•18h ago•64 comments

Stack Overflow’s forum is dead but the company’s still kicking

https://sherwood.news/tech/stack-overflow-forum-dead-thanks-ai-but-companys-still-kicking-ai/
122•geerlingguy•5h ago•179 comments

Is "colorectal cancer" rising in "young people"?

https://dynomight.net/crc-rates/
148•surprisetalk•6h ago•151 comments

Modern Blu-ray drives can now rip GameCube, Wii, and Xbox 360 games to PC

https://www.tomshardware.com/video-games/console-gaming/modern-blu-ray-drives-can-now-rip-gamecub...
79•01-_-•3h ago•8 comments