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

Comments

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

DeepSeek-v3.2: Pushing the frontier of open large language models [pdf]

https://huggingface.co/deepseek-ai/DeepSeek-V3.2/resolve/main/assets/paper.pdf
325•pretext•5h ago•115 comments

India orders smartphone makers to preload state-owned cyber safety app

https://www.reuters.com/sustainability/boards-policy-regulation/india-orders-mobile-phones-preloa...
262•jmsflknr•14h ago•154 comments

Ask HN: Who is hiring? (December 2025)

167•whoishiring•5h ago•214 comments

Ghostty compiled to WASM with xterm.js API compatibility

https://github.com/coder/ghostty-web
118•kylecarbs•3h ago•29 comments

How to Attend Meetings – Internal guidelines from the New York Times

https://docs.google.com/presentation/d/1l7s1aAsNPlNhSye8OsMqmH6pMR32OYGGdLT6VKyFaQE/edit#slide=id.p
32•spagoop•46m ago•8 comments

Why xor eax, eax?

https://xania.org/202512/01-xor-eax-eax
411•hasheddan•9h ago•162 comments

Cartographers Have Been Hiding Covert Illustrations Inside of Switzerland's Maps

https://eyeondesign.aiga.org/for-decades-cartographers-have-been-hiding-covert-illustrations-insi...
209•mhb•7h ago•43 comments

Sycophancy is the first LLM "dark pattern"

https://www.seangoedecke.com/ai-sycophancy/
47•jxmorris12•1h ago•21 comments

Ask HN: Who wants to be hired? (December 2025)

72•whoishiring•5h ago•144 comments

Instagram chief orders staff back to the office five days a week in 2026

https://www.businessinsider.com/instagram-chief-adam-mosseri-announces-five-day-office-return-202...
30•mfiguiere•31m ago•12 comments

ImAnim: Modern animation capabilities to ImGui applications

https://github.com/soufianekhiat/ImAnim
62•klaussilveira•5h ago•22 comments

Durin is a library for reading and writing the Dwarf debugging format

https://github.com/tmcgilchrist/durin
21•mooreds•2h ago•3 comments

Amazon faces FAA probe after delivery drone snaps internet cable in Texas

https://www.cnbc.com/2025/11/25/amazon-faa-probe-delivery-drone-incident-texas.html
7•jonathanzufi•5d ago•0 comments

React and Remix Choose Different Futures

https://laconicwit.com/react-and-remix-choose-different-futures/
32•surprisetalk•2h ago•18 comments

Better Auth (YC X25) Is Hiring

https://www.ycombinator.com/companies/better-auth/jobs/eKk5nLt-developer-relation-engineer
1•bekacru•4h ago

Intel could return to Apple computers in 2027

https://www.theverge.com/news/832366/intel-apple-m-chip-low-end-processor
79•DamnInteresting•2h ago•61 comments

A vector graphics workstation from the 70s

https://justanotherelectronicsblog.com/?p=1429
116•ibobev•7h ago•24 comments

Self-hosting a Matrix server for 5 years

https://yaky.dev/2025-11-30-self-hosting-matrix/
220•the-anarchist•10h ago•93 comments

Historic Engineering Wonders: Photos That Reveal How They Pulled It Off

https://rarehistoricalphotos.com/engineering-methods-from-the-past/
103•dxs•6d ago•21 comments

Games using anti-cheats and their compatibility with GNU/Linux or Wine/Proton

https://areweanticheatyet.com/
246•doener•14h ago•351 comments

Google unkills JPEG XL?

https://tonisagrista.com/blog/2025/google-unkills-jpegxl/
190•speckx•5h ago•170 comments

Ancestry and the NRS: when the corporate genealogy world turns ugly

http://scottishgenes.blogspot.com/2025/09/ancestry-and-nrs-when-corporate.html
3•ilamont•4d ago•0 comments

The Penicillin Myth

https://www.asimov.press/p/penicillin-myth
114•surprisetalk•7h ago•58 comments

Langjam Gamejam: Build a programming language then make a game with it

https://langjamgamejam.com/
112•birdculture•1d ago•50 comments

It’s been a very hard year

https://bell.bz/its-been-a-very-hard-year/
332•surprisetalk•15h ago•429 comments

Search tool that only returns content created before ChatGPT's public release

https://tegabrain.com/Slop-Evader
794•dmitrygr•17h ago•314 comments

Spleen Monospaced Bitmap Fonts

https://github.com/fcambus/spleen
24•keyle•5d ago•8 comments

WordPress plugin quirk resulted in UK Gov OBR Budget leak [pdf]

https://obr.uk/docs/dlm_uploads/01122025-Investigation-into-November-2025-EFO-publication-error.pdf
114•robtaylor•6h ago•102 comments

Show HN: RFC Hub

https://rfchub.app/
4•tlhunter•4h ago•0 comments

Advent of Code 2025

https://adventofcode.com/2025/about
1156•vismit2000•1d ago•369 comments