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.

The workers behind Meta’s smart glasses can see everything

https://www.svd.se/a/K8nrV4/metas-ai-smart-glasses-and-data-privacy-concerns-workers-say-we-see-e...
705•sandbach•5h ago•405 comments

Show HN: I built a sub-500ms latency voice agent from scratch

https://www.ntik.me/posts/voice-agent
230•nicktikhonov•6h ago•66 comments

Closure of the Weatheradio Service in Canada

https://www.rac.ca/rac-responds-to-the-closure-of-the-weatherradio-service-in-canada/
97•da768•4h ago•44 comments

Seed of Might Color Correction Process (2023) [pdf]

https://andrewvanner.github.io/som/SoM_CC_Process_Day.pdf
76•haunter•5h ago•17 comments

What are your guilty displeasures?

https://www.hopefulmons.com/p/what-are-your-guilty-displeasures
31•aregue•1d ago•38 comments

British Columbia to end time changes, adopt year-round daylight time

https://www.cbc.ca/news/canada/british-columbia/b-c-adopting-year-round-daylight-time-9.7111657
513•ireflect•7h ago•274 comments

New iPad Air, powered by M4

https://www.apple.com/newsroom/2026/03/apple-introduces-the-new-ipad-air-powered-by-m4/
341•Garbage•13h ago•546 comments

First in-utero stem cell therapy for fetal spina bifida repair is safe: study

https://health.ucdavis.edu/news/headlines/first-ever-in-utero-stem-cell-therapy-for-fetal-spina-b...
260•gmays•13h ago•50 comments

Against Query Based Compilers

https://matklad.github.io/2026/02/25/against-query-based-compilers.html
35•surprisetalk•1d ago•12 comments

RCade: Building a Community Arcade Cabinet

https://www.frankchiarulli.com/blog/building-the-rcade/
59•evakhoury•4d ago•12 comments

The 185-Microsecond Type Hint

https://blog.sturdystatistics.com/posts/type_hint/
52•kianN•5h ago•5 comments

How to Build Your Own Quantum Computer

https://physics.aps.org/articles/v19/24
48•tzury•4h ago•12 comments

Show HN: Govbase – Follow a bill from source text to news bias to social posts

https://govbase.com
167•foxfoxx•10h ago•72 comments

Motorola announces a partnership with GrapheneOS

https://motorolanews.com/motorola-three-new-b2b-solutions-at-mwc-2026/
2091•km•21h ago•749 comments

The Cathode Ray Tube site

https://www.crtsite.com/didactic-crt.html
14•joebig•1d ago•0 comments

Do AI Agents Make Money in 2026? Or Is It Just Mac Minis and Vibes?

https://www.siliconsnark.com/do-ai-agents-actually-make-money-in-2026-or-is-it-just-mac-minis-and...
9•SaaSasaurus•1h ago•4 comments

Ars Technica Fires Reporter After AI Controversy Involving Fabricated Quotes

https://futurism.com/artificial-intelligence/ars-technica-fires-reporter-ai-quotes
19•danso•2h ago•5 comments

Programmable Cryptography

https://0xparc.org/writings/programmable-cryptography-1
52•fi-le•2d ago•27 comments

iPhone 17e

https://www.apple.com/newsroom/2026/03/apple-introduces-iphone-17e/
215•meetpateltech•13h ago•291 comments

Ask HN: Who is hiring? (March 2026)

181•whoishiring•11h ago•229 comments

Inside the M4 Apple Neural Engine, Part 1: Reverse Engineering

https://maderix.substack.com/p/inside-the-m4-apple-neural-engine
283•zdw•1d ago•74 comments

Welcome (back) to Macintosh

https://take.surf/2026/03/01/welcome-back-to-macintosh
272•Udo_Schmitz•6h ago•189 comments

Show HN: Visual Lambda Calculus – a thesis project (2008) revived for the web

https://github.com/bntre/visual-lambda
24•bntr•2d ago•4 comments

Simple Screw Counter

https://mitxela.com/projects/screwcounter
4•jk_tech•2d ago•1 comments

Launch HN: OctaPulse (YC W26) – Robotics and computer vision for fish farming

68•rohxnsxngh•11h ago•30 comments

"That Shape Had None" – A Horror of Substrate Independence (Short Fiction)

https://starlightconvenience.net/#that-shape-had-none
83•casmalia•9h ago•15 comments

LFortran compiles fpm

https://lfortran.org/blog/2026/02/lfortran-compiles-fpm/
53•wtlin•3d ago•21 comments

Reflex (YC W23) Is Hiring Software Engineers – Python

https://www.ycombinator.com/companies/reflex/jobs
1•apetuskey•10h ago

Ask HN: Who wants to be hired? (March 2026)

79•whoishiring•11h ago•193 comments

Show HN: Giggles – A batteries-included React framework for TUIs

https://github.com/zion-off/giggles
5•ajz317•1h ago•4 comments