frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Right-Truncatable Prime Counter

https://github.com/EbodShojaei/Right-Truncatable-Primes
9•rainmans•1y ago

Comments

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

What I run on my $10 USD OpenStick homelab

https://blog.bosscher.ch/posts/openstick/
444•LaurensBER•10h ago•96 comments

Claude Code's "Don't Ask Again" exposes passwords in 1,122 public GitHub files

https://apiiro.com/blog/coding-agents-leaking-secrets-github-dont-ask-again
262•shmulc•7h ago•168 comments

ZapFast: A fast, native WhatsApp client in Rust and egui

https://github.com/crmne/zapfast
17•handfuloflight•2h ago•5 comments

Making any integer with four 2s (2025)

https://eli.thegreenplace.net/2025/making-any-integer-with-four-2s/
81•germanrabbit•6h ago•23 comments

GitHub New pull request overview page in public preview

https://github.blog/changelog/2026-11-05-new-pull-request-overview-page-in-public-preview/
96•xiaoyu2006•5h ago•65 comments

Amsterdam School

https://architecture-history.org/schools/AMSTERDAM%20SCHOOL.html
12•bondarchuk•4d ago•1 comments

Uranium cubes reveal why the German nuclear project failed

https://arstechnica.com/science/2026/11/uranium-cubes-reveal-why-the-german-nuclear-project-failed/
90•rbanffy•2d ago•53 comments

Need for Speed Underground 2 online in the browser

https://nfsu2.xyz/
866•fluxusars•19h ago•238 comments

Goodbye Claude, Hello Pi

https://caleb.software/posts/claude-to-pi.html
8•karagenit•1h ago•8 comments

MaxxBench – "Nice DeepSWE score. But is it true?"

https://maxxbench.unlap.ai/research/why-maxxbench/
235•antiuniverse•11h ago•67 comments

Show HN: Coldframe, a honeypot that poses as a supermarket fridge controller

https://github.com/hedgerow-dev/coldframe
207•hedgerow-dev•11h ago•44 comments

Every Mac comes with an (undocumented) family member classifier

https://8rank.ai/game/apple-intelligence-personal-knowledge-graph
644•infwhispers•18h ago•359 comments

The end of Microsoft Research's AI Frontiers group

https://hunch.net/?p=13764006
424•srean•10h ago•250 comments

Commodore PET – The Worlds First Personal Computer

https://www.commodore.ca/commodore-products/commodore-pet-the-worlds-first-personal-computer/
32•andsoitis•5h ago•10 comments

Every Windows 11 app should kill Electron, and Discord just showed why

https://www.windowslatest.com/2026/11/06/every-windows-11-app-should-kill-electron-and-discord-ju...
258•thunderbong•17h ago•229 comments

Apple’s grey list: Words and phrases your iPhone won’t help you spell

https://www.theguardian.com/technology/2026/nov/06/struggling-to-spell-male-chauvinist-pig-apple-...
405•user_7832•11h ago•266 comments

Turning every radio into a radar

https://tiaminetworks.com/turning-every-radio-into-a-radar/
42•hasley•4d ago•9 comments

Five memorable books about programming (2008)

https://prog21.dadgum.com/19.html
96•andsoitis•11h ago•62 comments

The $8 Linux Computer (2022)

http://thelittleengineerthatcould.blogspot.com/2022/12/the-8-linux-computer.html
211•zenincognito•14h ago•87 comments

Consumer brain wave headsets threaten privacy

https://www.science.org/content/article/wearable-device-makers-are-harvesting-brain-data-train-ai...
6•maxall4•2h ago•0 comments

GeoWorks, Microsoft Windows' Upstart '90s Competitor (2016)

https://www.atlasobscura.com/articles/the-history-of-geoworks-microsoft-windows-upstart-90s-compe...
51•andsoitis•10h ago•20 comments

Show HN: Where Were We

https://wherewerewe.app/
34•zkiihne•7h ago•14 comments

Retro Song Bird: Plug in any Game Boy cartridge to hear the soundtrack

https://www.retrosongbird.com/
51•hentrep•13h ago•16 comments

Study solved a 150-year-old mystery into the identity of the extinct giant crane

https://www.bournemouth.ac.uk/news/2026-10-28/study-has-solved-150-year-old-mystery-identity-exti...
19•gmays•4d ago•0 comments

Asahi Linux Progress Linux 7.3

https://asahilinux.org/2026/11/progress-report-7-3/
345•ackyshake•23h ago•293 comments

Every processor die anyone has photographed and given away

https://sheets.works/data-viz/cpu-dies
95•user_7832•12h ago•18 comments

Text.js: Build full-stack React apps that render inside console.log

https://textjs.org/
87•nateb2022•3d ago•48 comments

Cancer at Sea

https://biographic.com/cancer-at-sea/
24•bryanrasmussen•15h ago•2 comments

Running a law firm on Free software

https://decoded.legal/blog/2026/11/running-a-law-firm-on-free-software-2026-edition/
247•DeepLogin•19h ago•123 comments

IRA Velinsky – Commodore's Industrial Designer

https://www.commodore.ca/commodore-history/ira-velinsky-commodores-amazing-industrial-designer/
19•erickhill•5h ago•1 comments