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

Comments

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

I'm helping my dog vibe code games

https://www.calebleak.com/posts/dog-game/
722•cleak•11h ago•209 comments

Show HN: Moonshine Open-Weights STT models – higher accuracy than WhisperLargev3

https://github.com/moonshine-ai/moonshine
163•petewarden•6h ago•30 comments

Mac mini will be made at a new facility in Houston

https://www.apple.com/newsroom/2026/02/apple-accelerates-us-manufacturing-with-mac-mini-production/
409•haunter•7h ago•401 comments

Pi – A minimal terminal coding harness

https://pi.dev
232•kristianpaul•6h ago•102 comments

Mercury 2: The fastest reasoning LLM, powered by diffusion

https://www.inceptionlabs.ai/blog/introducing-mercury-2
123•fittingopposite•5h ago•70 comments

Amazon accused of widespread scheme to inflate prices across the economy

https://www.thebignewsletter.com/p/amazon-busted-for-widespread-price
219•toomuchtodo•3h ago•66 comments

Justifying Text-Wrap: Pretty

https://matklad.github.io/2026/02/14/justifying-text-wrap-pretty.html
63•surprisetalk•5d ago•22 comments

Hacking an old Kindle to display bus arrival times

https://www.mariannefeng.com/portfolio/kindle/
193•mengchengfeng•8h ago•44 comments

Nearby Glasses

https://github.com/yjeanrenaud/yj_nearbyglasses
267•zingerlio•10h ago•106 comments

Steel Bank Common Lisp

https://www.sbcl.org/
168•tosh•10h ago•63 comments

I pitched a roller coaster to Disneyland at age 10 in 1978

https://wordglyph.xyz/one-piece-at-a-time
408•wordglyph•15h ago•155 comments

Code has always been the easy part

https://laughingmeme.org/2026/02/09/code-has-always-been-the-easy-part.html
73•Ozzie_osman•3d ago•70 comments

Corgi Labs (YC W23) Is Hiring

https://www.ycombinator.com/companies/corgi-labs/jobs/ZiEIf7a-founders-associate
1•leastsquares•3h ago

What Happened to Fry's Electronics

https://dfarq.homeip.net/what-happened-to-frys-electronics/
7•jnord•44m ago•2 comments

Aesthetics of single threading

https://ta.fo/aesthetics-of-single-threading/
42•todsacerdoti•3d ago•7 comments

Hugging Face Skills

https://github.com/huggingface/skills
146•armcat•11h ago•42 comments

Anthropic Drops Flagship Safety Pledge

https://time.com/7380854/exclusive-anthropic-drops-flagship-safety-pledge/
112•cwwc•3h ago•39 comments

Show HN: Emdash – Open-source agentic development environment

https://github.com/generalaction/emdash
122•onecommit•10h ago•52 comments

Optophone

https://en.wikipedia.org/wiki/Optophone
55•Hooke•4d ago•9 comments

Show HN: Recursively apply patterns for pathfinding

https://pattern-pathfinder.vercel.app/?fixtureId=%7B%22path%22%3A%22site%2Fexamples%2F_intro.fixt...
18•seveibar•6h ago•4 comments

Looks like it is happening

https://www.math.columbia.edu/~woit/wordpress/?p=15500
144•jjgreen•7h ago•99 comments

Stripe valued at $159B, 2025 annual letter

https://stripe.com/newsroom/news/stripe-2025-update
178•jez•14h ago•189 comments

We installed a single turnstile to feel secure

https://idiallo.com/blog/installed-single-turnstile-for-security-theater
300•firefoxd•2d ago•135 comments

IRS Tactics Against Meta Open a New Front in the Corporate Tax Fight

https://www.nytimes.com/2026/02/24/business/irs-meta-corporate-taxes.html
192•mitchbob•15h ago•202 comments

We are changing our developer productivity experiment design

https://metr.org/blog/2026-02-24-uplift-update/
61•ej88•8h ago•37 comments

Build Your Own Forth Interpreter

https://codingchallenges.fyi/challenges/challenge-forth/
62•AlexeyBrin•3d ago•17 comments

IDF killed Gaza aid workers at point blank range in 2025 massacre: Report

https://www.dropsitenews.com/p/israeli-soldiers-tel-sultan-gaza-red-crescent-civil-defense-massac...
1472•Qem•16h ago•557 comments

OpenAI, the US government and Persona built an identity surveillance machine

https://vmfunc.re/blog/persona/
501•rzk•10h ago•159 comments

Why the KeePass format should be based on SQLite

https://mketab.org/blog/sqlite_kdbx/
94•wps•15h ago•69 comments

US Military leaders meet with Anthropic to argue against Claude safeguards

https://www.theguardian.com/us-news/2026/feb/24/anthropic-claude-military-ai
94•KnuthIsGod•4h ago•38 comments