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

Comments

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

The URL shortener that makes your links look as suspicious as possible

https://creepylink.com/
439•dreadsword•8h ago•78 comments

A letter to those who fired tech writers because of AI

https://passo.uno/letter-those-who-fired-tech-writers-ai/
86•theletterf•4h ago•52 comments

Raspberry Pi's New AI Hat Adds 8GB of RAM for Local LLMs

https://www.jeffgeerling.com/blog/2026/raspberry-pi-ai-hat-2/
112•ingve•3h ago•80 comments

Claude Cowork exfiltrates files

https://www.promptarmor.com/resources/claude-cowork-exfiltrates-files
704•takira•16h ago•311 comments

Z80 Mem­ber­ship Card

https://sunrise-ev.com/z80.htm
30•exvi•3d ago•7 comments

Photos Capture the Breathtaking Scale of China's Wind and Solar Buildout

https://e360.yale.edu/digest/china-renewable-photo-essay
108•mrtksn•2h ago•52 comments

Jiga (YC W21) Is Hiring Full Stack Engineers

https://jiga.io/about-us
1•grmmph•17m ago

Show HN: MailPilot – Freedom to go anywhere while your agents work

4•keepamovin•4h ago•2 comments

San Remo Pasta Measurer

https://www.toxel.com/tech/2025/09/17/san-remo-pasta-measurer/
15•surprisetalk•5d ago•1 comments

Ask HN: How are you doing RAG locally?

191•tmaly•21h ago•75 comments

Ask HN: Share your personal website

651•susam•19h ago•1823 comments

Handy – Free open source speech-to-text app

https://github.com/cjpais/Handy
111•tin7in•6h ago•63 comments

New Safari developer tools provide insight into CSS Grid Lanes

https://webkit.org/blog/17746/new-safari-developer-tools-provide-insight-into-css-grid-lanes/
74•feross•11h ago•36 comments

Scaling long-running autonomous coding

https://cursor.com/blog/scaling-agents
214•samwillis•14h ago•128 comments

Ask HN: What did you find out or explore today?

115•blahaj•18h ago•177 comments

Furiosa: 3.5x efficiency over H100s

https://furiosa.ai/blog/introducing-rngd-server-efficient-ai-inference-at-data-center-scale
183•written-beyond•11h ago•117 comments

Bubblewrap: A nimble way to prevent agents from accessing your .env files

https://patrickmccanna.net/a-better-way-to-limit-claude-code-and-other-coding-agents-access-to-se...
113•0o_MrPatrick_o0•10h ago•85 comments

Show HN: Sparrow-1 – Audio-native model for human-level turn-taking without ASR

https://www.tavus.io/post/sparrow-1-human-level-conversational-timing-in-real-time-voice
81•code_brian•18h ago•18 comments

The <Geolocation> HTML Element

https://developer.chrome.com/blog/geolocation-html-element
71•enz•1d ago•42 comments

Project SkyWatch (a.k.a. Wescam at Home)

https://ianservin.com/2026/01/13/project-skywatch-aka-wescam-at-home/
62•jjwiseman•19h ago•13 comments

The State of OpenSSL for pyca/cryptography

https://cryptography.io/en/latest/statements/state-of-openssl/
148•SGran•14h ago•29 comments

Test Your Square Brackets

https://fluca1978.github.io/2025/12/10/testAndSquareBrackets.html
3•speckx•5d ago•0 comments

Crafting Interpreters

https://craftinginterpreters.com/
132•tosh•13h ago•19 comments

Show HN: WebTiles – create a tiny 250x250 website with neighbors around you

https://webtiles.kicya.net/
195•dimden•5d ago•30 comments

Find a pub that needs you

https://www.ismypubfucked.com/
314•thinkingemote•20h ago•275 comments

Bare metal programming with RISC-V guide (2023)

https://popovicu.com/posts/bare-metal-programming-risc-v/
31•todsacerdoti•5d ago•7 comments

SparkFun Officially Dropping AdaFruit due to CoC Violation

https://www.sparkfun.com/official-response
471•yaleman•21h ago•473 comments

Sun Position Calculator

https://drajmarsh.bitbucket.io/earthsun.html
122•sanbor•14h ago•25 comments

Show HN: Webctl – Browser automation for agents based on CLI instead of MCP

https://github.com/cosinusalpha/webctl
101•cosinusalpha•21h ago•33 comments

Python: Tprof, a Targeting Profiler

https://adamj.eu/tech/2026/01/14/python-introducing-tprof/
6•jonatron•3h ago•0 comments