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

Comments

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

System 7 natively boots on the Mac mini G4

https://macos9lives.com/smforum/index.php?topic=7711.0
145•ibobev•4h ago•22 comments

WinApps: Run Windows apps as if they were a part of the native Linux OS

https://github.com/winapps-org/winapps
88•klaussilveira•3d ago•22 comments

Airbus A320 – intense solar radiation may corrupt data critical for flight

https://www.airbus.com/en/newsroom/press-releases/2025-11-airbus-update-on-a320-family-precaution...
261•pyrophoenix•10h ago•49 comments

Imgur geo-blocked the UK, so I geo-unblocked my network

https://blog.tymscar.com/posts/imgurukproxy/
360•tymscar•13h ago•117 comments

Every mathematician has only a few tricks (2020)

https://mathoverflow.net/questions/363119/every-mathematician-has-only-a-few-tricks
82•nill0•6h ago•12 comments

The Great Downzoning

https://worksinprogress.co/issue/the-great-downzoning/
24•barry-cotter•3h ago•8 comments

A triangle whose interior angles sum to zero

https://www.johndcook.com/blog/2025/11/28/tricusp-triangle/
88•tzury•7h ago•45 comments

Molly: An Improved Signal App

https://molly.im/
310•dtj1123•14h ago•173 comments

Confessions of a Software Developer: No More Self-Censorship

https://kerrick.blog/articles/2025/confessions-of-a-software-developer-no-more-self-censorship/
185•Kerrick•9h ago•168 comments

So you wanna build a local RAG?

https://blog.yakkomajuri.com/blog/local-rag
269•pedriquepacheco•15h ago•61 comments

Neato vacuum robots to stop working

https://support.neatorobotics.com/support/solutions/articles/204000073686-announcement-6th-oct-2025
43•simonlondon•4h ago•25 comments

Airloom – 3D Flight Tracker

https://objectiveunclear.com/airloom.html
208•azinman2•15h ago•66 comments

A first look at Django's new background tasks

https://roam.be/notes/2025/a-first-look-at-djangos-new-background-tasks/
101•roam•10h ago•21 comments

The risk of round numbers and sharp thresholds in clinical practice

https://www.nature.com/articles/s41746-025-02079-y
10•asplake•6d ago•1 comments

The original ABC language, Python's predecessor (1991)

https://github.com/gvanrossum/abc-unix
97•tony•12h ago•26 comments

Show HN: Mu – The Micro Network

https://github.com/asim/mu
21•asim•4d ago•9 comments

28M Hacker News comments as vector embedding search dataset

https://clickhouse.com/docs/getting-started/example-datasets/hackernews-vector-search-dataset
377•walterbell•14h ago•147 comments

Show HN: Choose your own adventure style Presentation

https://github.com/Skarlso/adventure-voter
25•skarlso•1w ago•5 comments

Fabric Project

https://github.com/Fabric-Project/Fabric
46•brcmthrowaway•9h ago•9 comments

The 'S&P 493' reveals a different U.S. economy

https://www.msn.com/en-us/money/markets/the-s-p-493-reveals-a-very-different-us-economy/ar-AA1R1VUJ
41•MilnerRoute•2h ago•6 comments

I mathematically proved the best "Guess Who?" strategy [video]

https://www.youtube.com/watch?v=_3RNB8eOSx0
62•surprisetalk•6d ago•16 comments

Language is primarily a tool for communication rather than thought (2024) [pdf]

https://gwern.net/doc/psychology/linguistics/2024-fedorenko.pdf
43•netfortius•17h ago•12 comments

How good engineers write bad code at big companies

https://www.seangoedecke.com/bad-code-at-big-companies/
304•gfysfm•12h ago•205 comments

How to get Pandoc to respect custom table styles in Word templates

https://johnathandos.com/posts/2025-11-24-custom-tables-with-pandoc/
13•johnathandos•4d ago•1 comments

Don't tug on that, you never know what it might be attached to (2016)

https://blog.plover.com/2016/07/01/#tmpdir
121•todsacerdoti•16h ago•56 comments

Electron vs. Tauri

https://www.dolthub.com/blog/2025-11-13-electron-vs-tauri/
58•birdculture•12h ago•28 comments

True P2P Email on Top of Yggdrasil Network

https://github.com/JB-SelfCompany/Tyr
134•basemi•15h ago•23 comments

Flight disruption warning as Airbus requests modifications to 6k planes

https://www.bbc.com/news/live/cvg4y6g74ert
202•nrhrjrjrjtntbt•10h ago•88 comments

Effective harnesses for long-running agents

https://www.anthropic.com/engineering/effective-harnesses-for-long-running-agents
97•diwank•13h ago•32 comments

JSON Schema Demystified: Dialects, Vocabularies and Metaschemas

https://www.iankduncan.com/engineering/2025-11-24-json-schema-demystified/
71•navigate8310•14h ago•24 comments