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.

Three Inverse Laws of AI

https://susam.net/inverse-laws-of-robotics.html
168•blenderob•2h ago•94 comments

Accelerating Gemma 4: faster inference with multi-token prediction drafters

https://blog.google/innovation-and-ai/technology/developers-tools/multi-token-prediction-gemma-4/
91•amrrs•1h ago•29 comments

EEVblog: The 555 Timer is 55 years old

https://www.youtube.com/watch?v=6JhK8iCQuqI
75•brudgers•1h ago•13 comments

UK: Two millionth electric car registered as market rebounds strongly

https://www.smmt.co.uk/two-millionth-electric-car-registered-as-market-rebounds-strongly-from-tax...
91•kieranmaine•1h ago•80 comments

Computer Use Is 45x More Expensive Than Structured APIs

https://reflex.dev/blog/computer-use-is-45x-more-expensive-than-structured-apis/
51•palashawas•1h ago•25 comments

IBM didn't want Microsoft to use the Tab key to move between dialog fields

https://devblogs.microsoft.com/oldnewthing/20260505-00/?p=112298
5•SeenNotHeard•9m ago•1 comments

Proliferate (YC S25) Is Hiring- 200k for junior engineers

https://www.ycombinator.com/companies/proliferate/jobs/L3copvK-founding-engineer
1•pablo24602•37m ago

Should I Run Plain Docker Compose in Production in 2026?

https://distr.sh/blog/running-docker-in-production/
251•pmig•5d ago•192 comments

Async Rust never left the MVP state

https://tweedegolf.nl/en/blog/237/async-rust-never-left-the-mvp-state
368•pjmlp•10h ago•204 comments

iOS 27 is adding a 'Create a Pass' button to Apple Wallet

https://walletwallet.alen.ro/blog/ios-27-wallet-create-pass/
285•alentodorov•5h ago•230 comments

Agents for financial services and insurance

https://www.anthropic.com/news/finance-agents
97•louiereederson•2h ago•73 comments

Docker 29 has changed its default image store for new installs

https://docs.docker.com/engine/storage/containerd
83•neitsab•3d ago•39 comments

AI Product Graveyard

https://tooldirectory.ai/ai-graveyard
205•StriverGuy•4h ago•79 comments

Show HN: Airbyte Agents – context for agents across multiple data sources

38•mtricot•2h ago•6 comments

When everyone has AI and the company still learns nothing

https://www.robert-glaser.de/when-everyone-has-ai-and-the-company-still-learns-nothing/
204•youngbrioche•8h ago•135 comments

Collaborative Editing in CodeMirror

https://marijnhaverbeke.nl/blog/collaborative-editing-cm.html
6•luu•1d ago•0 comments

Simple Meta-Harness on Islo.dev

https://zozo123.github.io/meta-harness-on-islo-page/
29•zozo123-IB•3h ago•17 comments

Empty Screenings – Finds AMC movie screenings with few or no tickets sold

https://walzr.com/empty-screenings
270•MrBuddyCasino•13h ago•227 comments

I'm Scared About Biological Computing

https://kuber.studio/blog/Reflections/I%27m-Scared-About-Biological-Computing
6•kuberwastaken•1h ago•0 comments

Incident with Actions

https://www.githubstatus.com/incidents/1j40g94rn22j
115•pera•3h ago•60 comments

Comparing the Z80 and 6502 to Their Relatives

https://bumbershootsoft.wordpress.com/2026/05/02/comparing-the-z80-and-6502-to-their-relatives/
58•ibobev•2d ago•0 comments

AI didn't delete your database, you did

https://idiallo.com/blog/ai-didnt-delete-your-database-you-did
363•Brajeshwar•3h ago•193 comments

Did I photograph the Aurora or was it something else? (2016)

https://wp.lancs.ac.uk/aurorawatchuk/2016/03/16/did-i-photgraph-the-aurora-or-was-it-something-else/
11•susam•3d ago•3 comments

Google Chrome silently installs a 4 GB AI model on your device without consent

https://www.thatprivacyguy.com/blog/chrome-silent-nano-install/
818•john-doe•10h ago•570 comments

Lessons for Agentic Coding: What should we do when code is cheap?

https://www.dbreunig.com/2026/05/04/10-lessons-for-agentic-coding.html
178•ingve•10h ago•191 comments

The first photo published in a newspaper

https://phsne.org/the-first-photograph-published-in-a-newspaper-1848/
31•geuis•2d ago•14 comments

Instagram Encrypted Messaging Ends on Friday, May 8

https://www.macrumors.com/2026/05/05/psa-instagram-encrypted-messaging-ends-may-8/
45•fraXis•1h ago•17 comments

Show HN: I built a new word game, Wordtrak

https://wordtrak.com/blog/2026-05-05-I-built-a-new-word-game
50•qrush•5h ago•25 comments

Hand Drawn QR Codes (2025)

https://sethmlarson.dev/hand-drawn-qr-codes
186•jollyjerry•13h ago•39 comments

New Landing Page for Awesome PaaS

https://debarshibasak.github.io/awesome-paas/
7•debarshri•2h ago•5 comments