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

Comments

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

ArXiv Declares Independence from Cornell

https://www.science.org/content/article/arxiv-pioneering-preprint-server-declares-independence-co...
285•bookstore-romeo•5h ago•73 comments

Google details new 24-hour process to sideload unverified Android apps

https://arstechnica.com/gadgets/2026/03/google-details-new-24-hour-process-to-sideload-unverified...
830•0xedb•16h ago•903 comments

Drawvg Filter for FFmpeg

https://ayosec.github.io/ffmpeg-drawvg/
45•nolta•2d ago•7 comments

Push events into a running session with channels

https://code.claude.com/docs/en/channels
336•jasonjmcghee•9h ago•189 comments

Full Disclosure: A Third (and Fourth) Azure Sign-In Log Bypass Found

https://trustedsec.com/blog/full-disclosure-a-third-and-fourth-azure-sign-in-log-bypass-found
144•nyxgeek•8h ago•31 comments

Drugwars for the TI-82/83/83 Calculators (2011)

https://gist.github.com/mattmanning/1002653/b7a1e88479a10eaae3bd5298b8b2c86e16fb4404
141•robotnikman•9h ago•53 comments

Building a Reader for the Smallest Hard Drive

https://www.willwhang.dev/Reading-MK4001MTD/
35•voctor•4d ago•7 comments

Return of the Obra Dinn: spherical mapped dithering for a 1bpp first-person game

https://forums.tigsource.com/index.php?topic=40832.msg1363742#msg1363742
367•PaulHoule•3d ago•47 comments

FSF Threatens Anthropic over Infringed Copyright: Share Your LLMs Freel

https://www.fsf.org/blogs/licensing/2026-anthropic-settlement
110•m463•3d ago•58 comments

How the Turner twins are mythbusting modern technical apparel

https://www.carryology.com/insights/how-the-turner-twins-are-mythbusting-modern-gear/
228•greedo•2d ago•116 comments

Show HN: Three new Kitten TTS models – smallest less than 25MB

https://github.com/KittenML/KittenTTS
430•rohan_joshi•18h ago•160 comments

Cursor Composer 2 is just Kimi K2.5 with RL

https://twitter.com/fynnso/status/2034706304875602030
20•mirzap•27m ago•1 comments

Cockpit is a web-based graphical interface for servers

https://github.com/cockpit-project/cockpit
259•modinfo•13h ago•149 comments

4Chan mocks £520k fine for UK online safety breaches

https://www.bbc.com/news/articles/c624330lg1ko
376•mosura•19h ago•645 comments

Astral to Join OpenAI

https://astral.sh/blog/openai
1364•ibraheemdev•21h ago•841 comments

Noq: n0's new QUIC implementation in Rust

https://www.iroh.computer/blog/noq-announcement
205•od0•15h ago•32 comments

A Journey Through Infertility

https://pudding.cool/2026/03/ivf/
33•tchanukvadze•2d ago•23 comments

How many branches can your CPU predict?

https://lemire.me/blog/2026/03/18/how-many-branches-can-your-cpu-predict/
83•chmaynard•1d ago•48 comments

Too Much Color

https://www.keithcirkel.co.uk/too-much-color/
9•maguay•2d ago•5 comments

Scaling Karpathy's Autoresearch: What Happens When the Agent Gets a GPU Cluster

https://blog.skypilot.co/scaling-autoresearch/
176•hopechong•17h ago•76 comments

Be intentional about how AI changes your codebase

https://aicode.swerdlow.dev
120•benswerd•12h ago•49 comments

Clockwise acquired by Salesforce

https://www.getclockwise.com
121•nigelgutzmann•14h ago•60 comments

Launch HN: Voltair (YC W26) – Drone and charging network for power utilities

72•wweissbluth•17h ago•27 comments

FSFE supporters affected: Payment provider Nexi cancelled us

https://fsfe.org/news/2026/news-20260316-01.en.html
52•rasjani•3h ago•16 comments

NanoGPT Slowrun: 10x Data Efficiency with Infinite Compute

https://qlabs.sh/10x
149•sdpmas•15h ago•32 comments

OpenBSD: PF queues break the 4 Gbps barrier

https://undeadly.org/cgi?action=article;sid=20260319125859
203•defrost•20h ago•60 comments

Linux Page Faults, MMAP, and userfaultfd for faster VM boots

https://www.shayon.dev/post/2026/65/linux-page-faults-mmap-and-userfaultfd/
30•shayonj•1d ago•2 comments

Launch HN: Canary (YC W26) – AI QA that understands your code

56•Visweshyc•18h ago•20 comments

Waymo Safety Impact

https://waymo.com/safety/impact/
314•xnx•13h ago•326 comments

From Oscilloscope to Wireshark: A UDP Story (2022)

https://www.mattkeeter.com/blog/2022-08-11-udp/
114•ofrzeta•14h ago•26 comments