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.

How Charles M Schulz created Charlie Brown and Snoopy (2024)

https://www.bbc.com/culture/article/20241205-how-charles-m-schulz-created-charlie-brown-and-snoopy
77•1659447091•3h ago•27 comments

Same-day upstream Linux support for Snapdragon 8 Elite Gen 5

https://www.qualcomm.com/developer/blog/2025/10/same-day-snapdragon-8-elite-gen-5-upstream-linux-...
353•mfilion•11h ago•156 comments

250MWh 'Sand Battery' to start construction in Finland

https://www.energy-storage.news/250mwh-sand-battery-to-start-construction-in-finland-for-both-hea...
163•doener•5h ago•71 comments

Vsora Jotunn-8 5nm European inference chip

https://vsora.com/products/jotunn-8/
43•rdg42•4h ago•10 comments

A programmer-friendly I/O abstraction over io_uring and kqueue (2022)

https://tigerbeetle.com/blog/2022-11-23-a-friendly-abstraction-over-iouring-and-kqueue/
49•enz•5h ago•13 comments

Physicists drive antihydrogen breakthrough at CERN

https://phys.org/news/2025-11-physicists-antihydrogen-breakthrough-cern-technique.html
141•naves•5d ago•36 comments

Quake Engine Indicators

https://fabiensanglard.net/quake_indicators/index.html
214•liquid_x•3d ago•42 comments

Feedback doesn't scale

https://another.rodeo/feedback/
128•ohjeez•1d ago•44 comments

Memories of .us

https://computer.rip/2025-11-11-dot-us.html
131•sabas_ge•1d ago•40 comments

Linux Kernel Explorer

https://reverser.dev/linux-kernel-explorer
548•tanelpoder•21h ago•79 comments

Underrated reasons to be thankful V

https://dynomight.net/thanks-5/
151•numeri•7h ago•71 comments

Tell HN: Happy Thanksgiving

595•prodigycorp•22h ago•150 comments

Indie, alone, and figuring it out

https://danijelavrzan.com/posts/2025/11/indie-dev/
47•wallflower•4d ago•3 comments

DeepSeekMath-V2: Towards Self-Verifiable Mathematical Reasoning [pdf]

https://github.com/deepseek-ai/DeepSeek-Math-V2/blob/main/DeepSeekMath_V2.pdf
144•fspeech•8h ago•32 comments

The VPN panic is only getting started

https://www.theverge.com/tech/827435/uk-vpn-restrictions-ban-online-safety-act
13•cebert•55m ago•5 comments

GitLab discovers widespread NPM supply chain attack

https://about.gitlab.com/blog/gitlab-discovers-widespread-npm-supply-chain-attack/
65•OuterVale•12h ago•20 comments

Maxduino Review: Tape Cassette Emulator for Multiple Retro Computers

https://retrogamecoders.com/maxduino-review/
14•ibobev•3d ago•0 comments

Giving the Jakks Atari Paddle a Spin

https://nicole.express/2025/paddle-me-atari.html
18•ingve•4d ago•0 comments

TPUs vs. GPUs and why Google is positioned to win AI race in the long term

https://www.uncoveralpha.com/p/the-chip-made-for-the-ai-inference
297•vegasbrianc•14h ago•228 comments

DIY NAS: 2026 Edition

https://blog.briancmoses.com/2025/11/diy-nas-2026-edition.html
411•sashk•1d ago•261 comments

Bird flu viruses are resistant to fever, making them a major threat to humans

https://medicalxpress.com/news/2025-11-bird-flu-viruses-resistant-fever.html
64•bikenaga•4h ago•51 comments

Mixpanel Security Breach

https://mixpanel.com/blog/sms-security-incident/
220•jaredwiener•21h ago•107 comments

Inspired by Spider-Man, scientists recreate web-slinging technology

https://scienceclock.com/inspired-by-spider-man-scientists-recreate-web-slinging-technology/
50•ohjeez•1d ago•12 comments

Coq: The World's Best Macro Assembler? (2013) [pdf]

https://nickbenton.name/coqasm.pdf
148•addaon•23h ago•67 comments

China's BEV Trucks and the End of Diesel's Dominance

https://cleantechnica.com/2025/11/26/chinas-bev-trucks-and-the-end-of-diesels-dominance/
4•xbmcuser•23m ago•0 comments

Ray Marching Soft Shadows in 2D (2020)

https://www.rykap.com/2020/09/23/distance-fields/
181•memalign•20h ago•28 comments

Music eases surgery and speeds recovery, study finds

https://www.bbc.com/news/articles/c231dv9zpz3o
204•1659447091•23h ago•89 comments

A Camera of Miroslav Tichý

https://artblart.com/tag/a-camera-of-miroslav-tichy/
8•Kaibeezy•4d ago•0 comments

Penpot: The Open-Source Figma

https://github.com/penpot/penpot
711•selvan•1d ago•173 comments

The current state of the theory that GPL propagates to AI models

https://shujisado.org/2025/11/27/gpl-propagates-to-ai-models-trained-on-gpl-code/
186•jonymo•15h ago•250 comments