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.

Buttered Crumpet, a custom typeface for Wallace and Gromit

https://jamieclarketype.com/case-study/wallace-and-gromit-font/
32•tobr•32m ago•2 comments

Moltbook

https://www.moltbook.com/
748•teej•11h ago•388 comments

Wisconsin communities signed secrecy deals for billion-dollar data centers

https://www.wpr.org/news/4-wisconsin-communities-signed-secrecy-deals-billion-dollar-data-centers
172•sseagull•2h ago•150 comments

Implementing a tiny CPU rasterizer (2024)

https://lisyarus.github.io/blog/posts/implementing-a-tiny-cpu-rasterizer-part-1.html
23•PaulHoule•4d ago•0 comments

Show HN: Amla Sandbox – WASM bash shell sandbox for AI agents

https://github.com/amlalabs/amla-sandbox
10•souvik1997•1h ago•13 comments

Richard Feynman Side Hustles

https://twitter.com/carl_feynman/status/2016979540099420428
51•tzury•1h ago•16 comments

OpenClaw – Moltbot Renamed Again

https://openclaw.ai/blog/introducing-openclaw
363•ed•10h ago•159 comments

Tesla’s autonomous vehicles are crashing at a rate much higher tha human drivers

https://electrek.co/2026/01/29/teslas-own-robotaxi-data-confirms-crash-rate-3x-worse-than-humans-...
396•breve•5h ago•192 comments

Where I'm at with AI

https://paulosman.me/2026/01/18/where-im-at-with-ai/
27•crashwhip•1h ago•21 comments

Track Your Routine – Open-source app for task management

https://github.com/MSF01/TYR
32•perrii•3h ago•16 comments

The Engineer who invented the Mars Rover Suspension in his garage [video]

https://www.youtube.com/watch?v=QKSPk_0N4Jc
74•UltraSane•3d ago•10 comments

How AI assistance impacts the formation of coding skills

https://www.anthropic.com/research/AI-assistance-coding-skills
201•vismit2000•10h ago•165 comments

Pangolin (YC S25) is hiring software engineers (open-source, Go, networking)

https://docs.pangolin.net/careers/join-us
1•miloschwartz•3h ago

GOG: Linux "the next major frontier" for gaming as it works on a native client

https://www.xda-developers.com/gog-calls-linux-the-next-major-frontier-for-gaming-as-it-works-on-...
389•franczesko•7h ago•202 comments

Quack-Cluster: A Serverless Distributed SQL Query Engine with DuckDB and Ray

https://github.com/kristianaryanto/Quack-Cluster
4•tanelpoder•3d ago•0 comments

Ode to the AA Battery

https://www.jeffgeerling.com/blog/2026/ode-to-the-aa-battery/
50•Brajeshwar•1h ago•29 comments

Netflix Animation Studios Joins the Blender Development Fund as Corporate Patron

https://www.blender.org/press/netflix-animation-studios-joins-the-blender-development-fund-as-cor...
284•vidyesh•9h ago•42 comments

Grid: Free, local-first, browser-based 3D printing/CNC/laser slicer

https://grid.space/stem/
335•cyrusradfar•17h ago•110 comments

PlayStation 2 Recompilation Project Is Absolutely Incredible

https://redgamingtech.com/playstation-2-recompilation-project-is-absolutely-incredible/
487•croes•20h ago•267 comments

Show HN: Kolibri, a DIY music club in Sweden

https://kolibrinkpg.com/
78•EastLondonCoder•23h ago•13 comments

How AI Impacts Skill Formation

https://arxiv.org/abs/2601.20245
148•northfield27•8h ago•2 comments

Project Genie: Experimenting with infinite, interactive worlds

https://blog.google/innovation-and-ai/models-and-research/google-deepmind/project-genie/
622•meetpateltech•22h ago•299 comments

Show HN: Cicada – A scripting language that integrates with C

https://github.com/heltilda/cicada
27•briancr•3h ago•9 comments

Code is cheap. Show me the talk

https://nadh.in/blog/code-is-cheap/
82•ghostfoxgod•3h ago•65 comments

Godot 4.6 Release: It's all about your flow

https://godotengine.org/releases/4.6/
96•makepanic•3d ago•35 comments

AGENTS.md outperforms skills in our agent evals

https://vercel.com/blog/agents-md-outperforms-skills-in-our-agent-evals
411•maximedupre•1d ago•165 comments

Doin' It with a 555: One Chip to Rule Them All

https://aashvik.com/posts/555-revolution/
83•MonkeyClub•3d ago•43 comments

Retiring GPT-4o, GPT-4.1, GPT-4.1 mini, and OpenAI o4-mini in ChatGPT

https://openai.com/index/retiring-gpt-4o-and-older-models/
250•rd•18h ago•318 comments

Stargaze: SpaceX's Space Situational Awareness System

https://starlink.com/updates/stargaze
140•hnburnsy•12h ago•53 comments

The WiFi only works when it's raining (2024)

https://predr.ag/blog/wifi-only-works-when-its-raining/
257•epicalex•19h ago•92 comments