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

Comments

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

I built a light that reacts to radio waves [video]

https://www.youtube.com/watch?v=moBCOEiqiPs
55•codetheweb•1h ago•12 comments

Proton Spam and the AI Consent Problem

https://dbushell.com/2026/01/22/proton-spam/
5•dbushell•12m ago•0 comments

Capital One to acquire Brex for $5.15B

https://www.reuters.com/legal/transactional/capital-one-buy-fintech-firm-brex-515-billion-deal-20...
271•personjerry•9h ago•201 comments

TI-99/4A: Leaning More on the Firmware

https://bumbershootsoft.wordpress.com/2026/01/17/ti-99-4a-leaning-more-heavily-on-the-firmware/
18•ibobev•4d ago•5 comments

GPTZero finds 100 new hallucinations in NeurIPS 2025 accepted papers

https://gptzero.me/news/neurips/
801•segmenta•15h ago•428 comments

Show HN: isometric.nyc – giant isometric pixel art map of NYC

https://cannoneyed.com/isometric-nyc/
827•cannoneyed•14h ago•170 comments

Why does SSH send 100 packets per keystroke?

https://eieio.games/blog/ssh-sends-100-packets-per-keystroke/
407•eieio•11h ago•240 comments

I was banned from Claude for scaffolding a Claude.md file?

https://hugodaniel.com/posts/claude-code-banned-me/
471•hugodan•12h ago•372 comments

Talking to LLMs has improved my thinking

https://philipotoole.com/why-talking-to-llms-has-improved-my-thinking/
85•otoolep•3h ago•66 comments

Qwen3-TTS family is now open sourced: Voice design, clone, and generation

https://qwen.ai/blog?id=qwen3tts-0115
548•Palmik•17h ago•174 comments

Turso is an in-process SQL database, compatible with SQLite

https://github.com/tursodatabase/turso
94•marklit•3d ago•54 comments

Bugs Apple Loves

https://www.bugsappleloves.com
442•nhod•4h ago•166 comments

Show HN: Txt2plotter – True centerline vectors from Flux.2 for pen plotters

https://github.com/malvarezcastillo/txt2plotter
6•tsanummy•3d ago•0 comments

Writing First, Tooling Second

https://susam.net/writing-first-tooling-second.html
16•blenderob•4d ago•1 comments

Douglas Adams on the English–American cultural divide over "heroes"

https://shreevatsa.net/post/douglas-adams-cultural-divide/
404•speckx•17h ago•394 comments

Scaling PostgreSQL to power 800M ChatGPT users

https://openai.com/index/scaling-postgresql/
136•mustaphah•9h ago•50 comments

Improving the usability of C libraries in Swift

https://www.swift.org/blog/improving-usability-of-c-libraries-in-swift/
91•timsneath•7h ago•5 comments

Your app subscription is now my weekend project

https://rselbach.com/your-sub-is-now-my-weekend-project
307•robteix•4d ago•223 comments

Why medieval city-builder video games are historically inaccurate (2020)

https://www.leidenmedievalistsblog.nl/articles/why-medieval-city-builder-video-games-are-historic...
104•benbreen•6h ago•59 comments

Launch HN: Constellation Space (YC W26) – AI for satellite mission assurance

35•kmajid•14h ago•15 comments

CSS Optical Illusions

https://alvaromontoro.com/blog/68091/css-optical-illusions
166•ulrischa•13h ago•14 comments

Show HN: Text-to-video model from scratch (2 brothers, 2 years, 2B params)

https://huggingface.co/collections/Linum-AI/linum-v2-2b-text-to-video
70•schopra909•14h ago•13 comments

Stunnel

https://www.stunnel.org/
57•firesteelrain•6h ago•16 comments

'Askers' vs. 'Guessers' (2010)

https://www.theatlantic.com/national/2010/05/askers-vs-guessers/340891/
116•BoorishBears•19h ago•76 comments

Composing APIs and CLIs in the LLM era

https://walters.app/blog/composing-apis-clis
50•zerf•13h ago•12 comments

Recent discoveries on the acquisition of the highest levels of human performance

https://www.science.org/doi/abs/10.1126/science.adt7790
122•colincooke•13h ago•59 comments

'Active' sitting is better for brain health: review of studies

https://www.sciencealert.com/not-all-sitting-is-equal-one-type-was-just-linked-to-better-brain-he...
94•mikhael•12h ago•34 comments

In Europe, wind and solar overtake fossil fuels

https://e360.yale.edu/digest/europe-wind-solar-fossil-fuels
560•speckx•16h ago•557 comments

Show HN: BrowserOS – "Claude Cowork" in the browser

https://github.com/browseros-ai/BrowserOS
56•felarof•14h ago•24 comments

Design Thinking Books (2024)

https://www.designorate.com/design-thinking-books/
279•rrm1977•19h ago•126 comments