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.

Hardware Attestation as Monopoly Enabler

https://grapheneos.social/@GrapheneOS/116550899908879585
674•ChuckMcM•5h ago•251 comments

Local AI needs to be the norm

https://unix.foo/posts/local-ai-needs-to-be-norm/
353•cylo•5h ago•194 comments

Incident Report: CVE-2024-YIKES

https://nesbitt.io/2026/02/03/incident-report-cve-2024-yikes.html
317•miniBill•5h ago•81 comments

Ask HN: What are you working on? (May 2026)

93•david927•5h ago•327 comments

Why modern parents feel more sleep deprived than our ancestors did

https://www.bbc.com/future/article/20260508-parents-in-ancient-times-felt-less-sleep-deprived-wha...
35•1659447091•1h ago•14 comments

Traces Of Humanity

https://tracesofhumanity.org/hello-world/
110•alex77456•5h ago•18 comments

Maryland citizens hit with $2B power grid upgrade for out-of-state AI

https://www.tomshardware.com/tech-industry/artificial-intelligence/maryland-citizens-slapped-with...
62•lemonberry•1h ago•20 comments

First tunnel element of the Fehmarnbelt Tunnel immersed

https://www.arup.com/en-us/news/first-fehmarnbelt-tunnel-element-lowered/
13•robin_reala•3d ago•1 comments

I returned to AWS and was reminded why I left

http://fourlightyears.blogspot.com/2026/05/i-returned-to-aws-and-was-reminded-hard.html
610•andrewstuart•1d ago•451 comments

Stop MitM on the first SSH connection, on any VPS or cloud provider

https://www.joachimschipper.nl/Stop%20MITM%20on%20the%20first%20SSH%20connection,%20on%20any%20VP...
56•JoachimSchipper•2d ago•30 comments

Eight More 8-bit Era Microprocessors (2024)

https://thechipletter.substack.com/p/eight-more-8-bit-era-microprocessors
38•klelatti•2d ago•10 comments

Obsidian plugin was abused to deploy a remote access trojan

https://cyber.netsecops.io/articles/obsidian-plugin-abused-in-campaign-to-deploy-phantom-pulse-rat/
5•cmbailey•57m ago•2 comments

Lakebase architecture delivers faster Postgres writes

https://www.databricks.com/blog/how-lakebase-architecture-delivers-5x-faster-postgres-writes
82•sp_from_db•2d ago•23 comments

The locals don't know

https://www.quarter--mile.com/The-Locals-Dont-Know
71•herbertl•6h ago•52 comments

Walking slower? Your ears, not your knees, might be the problem

https://www.wsj.com/health/wellness/hearing-loss-walking-speed-iphone-study-c53c482a
73•marc__1•1d ago•54 comments

YC's Biggest Scandals

https://ycombinator.fyi/
199•laserduck•6h ago•72 comments

What's a mathematician to do? (2010)

https://mathoverflow.net/questions/43690/whats-a-mathematician-to-do
136•ipnon•11h ago•69 comments

Louis Rossmann offers to pay legal fees for a threatened OrcaSlicer developer

https://www.tomshardware.com/3d-printing/louis-rossmann-tells-3d-printer-maker-bambu-lab-to-go-bl...
417•iancmceachern•8h ago•229 comments

Idempotency is easy until the second request is different

https://blog.dochia.dev/blog/idempotency/
266•ludovicianul•3d ago•168 comments

The people preserving the scientific practice of bird banding

https://thenarwhal.ca/bird-banding-ontario/
10•bookofjoe•2d ago•0 comments

Show HN: An index of indie web/blog indexes

https://theindex.fyi
84•rocketpastsix•10h ago•22 comments

The One Dollar Counterfeiter

https://www.amusingplanet.com/2026/05/emerich-juettner-one-dollar.html
322•cainxinth•3d ago•132 comments

Show HN: Building a web server in assembly to give my life (a lack of) meaning

https://github.com/imtomt/ymawky
382•imtomt•19h ago•205 comments

Space Cadet Pinball on Linux

https://brennan.io/2026/05/09/pinball-and-escrow/
299•jandeboevrie•11h ago•101 comments

9 Mothers (YC P26) Is Hiring

https://jobs.ashbyhq.com/9-mothers?utm_source=x8pZ4B3P3Q
1•ukd1•10h ago

Think Linear Algebra (2023)

https://allendowney.github.io/ThinkLinearAlgebra/index.html
146•tamnd•13h ago•17 comments

Task Paralysis and AI

https://g5t.de/articles/20260510-task-paralysis-and-ai/index.html
172•MrGilbert•16h ago•100 comments

Spain has become one of Europe’s cheapest power markets

https://janrosenow.substack.com/p/spain-just-became-one-of-europes
127•marc__1•6h ago•107 comments

Casio S100X Japanese Lacquer Edition (JP Page Only)

https://www.casio.com/jp/basic-calculators/premium/en-s100x-jc1-u/
304•dr_kiszonka•3d ago•140 comments

Shunting-Yard Animation

https://somethingorotherwhatever.com/shunting-yard-animation/
49•s1291•7h ago•15 comments