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.

BirdyChat becomes first European chat app that is interoperable with WhatsApp

https://www.birdy.chat/blog/first-to-interoperate-with-whatsapp
90•joooscha•59m ago•46 comments

Raspberry Pi Drag Race: Pi 1 to Pi 5 – Performance Comparison

https://the-diy-life.com/raspberry-pi-drag-race-pi-1-to-pi-5-performance-comparison/
43•verginer•1h ago•21 comments

Doing gigabit Ethernet over my British phone wires

https://thehftguy.com/2026/01/22/doing-gigabit-ethernet-over-my-british-phone-wires/
349•user5994461•9h ago•193 comments

Claude Code's new hidden feature: Swarms

https://twitter.com/NicerInPerson/status/2014989679796347375
150•AffableSpatula•5h ago•111 comments

How I estimate work

https://www.seangoedecke.com/how-i-estimate-work/
303•mattjhall•9h ago•169 comments

Agent orchestration for the timid

https://substack.com/inbox/post/185649875
5•markferree•37m ago•0 comments

Maze Algorithms (2017)

http://www.jamisbuck.org/mazes/
57•surprisetalk•23h ago•20 comments

Small Kafka: Tansu and SQLite on a free t3.micro

https://blog.tansu.io/articles/broker-aws-free-tier
15•rmoff•4d ago•0 comments

JSON-render: LLM-based JSON-to-UI tool

https://json-render.dev/
5•rickcarlino•50m ago•0 comments

The Concatative Language XY

http://www.nsl.com/k/xy/xy.txt
5•ofalkaed•55m ago•1 comments

How I Became a Quant (2007) [pdf]

https://engineering.nyu.edu/sites/default/files/2021-10/How_I_Became_a_Quant%20%281%29.pdf
73•sonabinu•5d ago•48 comments

Metriport (YC S22) is hiring a security eng to harden healthcare data infra

https://www.ycombinator.com/companies/metriport/jobs/XC2AF8s-senior-security-engineer
1•dgoncharov•3h ago

Tao Te Ching – Translated by Ursula K. Le Guin

https://github.com/nrrb/tao-te-ching/blob/master/Ursula%20K%20Le%20Guin.md
112•andsoitis•3h ago•39 comments

Memory layout in Zig with formulas

https://raymondtana.github.io/math/programming/2026/01/23/zig-alignment-and-sizing.html
5•raymondtana•4h ago•1 comments

Ask HN: Gmail spam filtering suddenly marking everything as spam?

54•goopthink•3h ago•55 comments

December in Servo: multiple windows, proxy support, better caching, and more

https://servo.org/blog/2026/01/23/december-in-servo/
85•t-3•3h ago•6 comments

MS confirms it will give the FBI your Windows PC data encryption key if asked

https://www.windowscentral.com/microsoft/windows-11/microsoft-bitlocker-encryption-keys-give-fbi-...
304•blacktulip•7h ago•216 comments

Shared Claude: A website controlled by the public

https://sharedclaude.com/
5•reasonableklout•11h ago•0 comments

The Kept and the Killed (2022)

https://publicdomainreview.org/essay/the-kept-and-the-killed/
3•nomagicbullet•4h ago•0 comments

C++26 Reflection loves QRangeModel

https://www.qt.io/blog/c26-reflection-qrangemodel
18•jandeboevrie•4d ago•2 comments

Hung by a thread

https://campedersen.com/rayon-mutex-deadlock
3•ecto•1h ago•0 comments

Language may rely less on complex grammar than previously thought: study

https://scitechdaily.com/have-we-been-wrong-about-language-for-70-years-new-study-challenges-long...
3•mikhael•16h ago•1 comments

Propositions about the New Romanticism

https://www.honest-broker.com/p/25-propositions-about-the-new-romanticism
3•dom2•4m ago•0 comments

When employees feel slighted, they work less

https://penntoday.upenn.edu/news/penn-wharton-when-employees-feel-slighted-they-work-less
239•consumer451•4d ago•203 comments

Internet Archive's Storage

https://blog.dshr.org/2026/01/internet-archives-storage.html
258•zdw•4d ago•76 comments

XHTML Club

https://xhtml.club/
47•bradley_taunt•6h ago•102 comments

Show HN: Open-source Figma design to code

https://github.com/vibeflowing-inc/vibe_figma
9•alepeak•13h ago•2 comments

Many Small Queries Are Efficient in SQLite

https://www.sqlite.org/np1queryprob.html
131•tosh•8h ago•86 comments

Unrolling the Codex agent loop

https://openai.com/index/unrolling-the-codex-agent-loop/
421•tosh•23h ago•194 comments

Are we all plagiarists now?

https://www.economist.com/culture/2026/01/22/are-we-all-plagiarists-now
89•pseudolus•3h ago•98 comments