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

Comments

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

My Astrophotography in the Movie Project Hail Mary

https://rpastro.square.site/s/stories/phm
416•wallflower•3d ago•125 comments

Local LLM App by Ente

https://ente.com/blog/ensu/
267•matthiaswh•5h ago•119 comments

Thoughts on Slowing the Fuck Down

https://mariozechner.at/posts/2026-03-25-thoughts-on-slowing-the-fuck-down/
219•jdkoeck•4h ago•144 comments

Jury says Meta knowingly harmed children for profit, awarding landmark verdict

https://www.latimes.com/business/story/2026-03-25/jury-says-meta-knowingly-harmed-children-for-pr...
171•1vuio0pswjnm7•1h ago•27 comments

Meta and YouTube Found Negligent in Landmark Social Media Addiction Case

https://www.nytimes.com/2026/03/25/technology/social-media-trial-verdict.html
79•mrjaeger•49m ago•16 comments

TurboQuant: Redefining AI efficiency with extreme compression

https://research.google/blog/turboquant-redefining-ai-efficiency-with-extreme-compression/
405•ray__•13h ago•118 comments

Antimatter has been transported for the first time

https://www.nature.com/articles/d41586-026-00950-w
182•leephillips•3h ago•87 comments

Show HN: I built a site that maps the web from a bounty hunter's perspective

https://www.neobotnet.com/
25•caffeinedoom•1d ago•0 comments

Sony V. Cox Decision Reversed

https://supreme.justia.com/cases/federal/us/607/24-171/
80•rileymichael•2h ago•43 comments

Goodbye to Sora

https://twitter.com/soraofficialapp/status/2036532795984715896
990•mikeocool•22h ago•739 comments

Meta and Google found liable in social media addiction trial

https://www.bbc.co.uk/news/articles/c747x7gz249o
18•ColinWright•35m ago•1 comments

VitruvianOS – Desktop Linux Inspired by the BeOS

https://v-os.dev
281•felixding•15h ago•180 comments

Looking at Unity made me understand the point of C++ coroutines

https://mropert.github.io/2026/03/20/unity_cpp_coroutines/
115•ingve•3d ago•100 comments

Flighty Airports

https://flighty.com/airports
471•skogstokig•17h ago•162 comments

Building a coding agent in Swift from scratch

https://github.com/ivan-magda/swift-claude-code
46•vanyaland•7h ago•12 comments

Tell HN: Litellm 1.82.7 and 1.82.8 on PyPI are compromised

https://github.com/BerriAI/litellm/issues/24512
867•dot_treo•1d ago•462 comments

Musketeer d'Artagnan's remains believed found under Dutch church

https://www.bbc.co.uk/news/articles/cm2rew2dgzzo
49•xenocratus•2h ago•13 comments

Show HN: I took back Video.js after 16 years and we rewrote it to be 88% smaller

https://videojs.org/blog/videojs-v10-beta-hello-world-again
563•Heff•1d ago•116 comments

Miscellanea: The War in Iran

https://acoup.blog/2026/03/25/miscellanea-the-war-in-iran/
219•decimalenough•13h ago•294 comments

Data centers are transitioning from AC to DC

https://spectrum.ieee.org/data-center-dc
245•jnord•17h ago•304 comments

Slovenian officials blame Israeli firm Black Cube for trying to manipulate vote

https://www.wsj.com/world/europe/spies-lies-and-fake-investors-in-disguise-how-plotters-tried-to-...
329•cramsession•1h ago•137 comments

VNDB founder Yorhel has died

https://vndb.org/t24787
156•indrora•3d ago•24 comments

Apple Business

https://www.apple.com/newsroom/2026/03/introducing-apple-business-a-new-all-in-one-platform-for-b...
702•soheilpro•1d ago•394 comments

Tracy Kidder, Author of 'The Soul of a New Machine,' Dies at 80

https://www.nytimes.com/2026/03/25/books/tracy-kidder-dead.html
30•ghc•1h ago•7 comments

Quantization from the Ground Up

https://ngrok.com/blog/quantization
37•samwho•2h ago•9 comments

I wanted to build vertical SaaS for pest control, so I took a technician job

https://www.onhand.pro/p/i-wanted-to-build-vertical-saas-for-pest-control-i-took-a-technician-job...
396•tezclarke•20h ago•172 comments

Supreme Court Sides with Cox in Copyright Fight over Pirated Music

https://www.nytimes.com/2026/03/25/us/politics/supreme-court-cox-music-copyright.html
138•oj2828•3h ago•84 comments

Microbenchmarking Chipsets for Giggles

https://chipsandcheese.com/p/microbenchmarking-chipsets-for-giggles
43•zdw•2d ago•2 comments

Arm AGI CPU

https://newsroom.arm.com/blog/introducing-arm-agi-cpu
395•RealityVoid•1d ago•288 comments

Hubble Snaps a New Dazzling Photo of the Crab Nebula

https://nautil.us/hubble-snaps-a-new-dazzling-photo-of-the-crab-nebula-1279203
41•Brajeshwar•2h ago•6 comments