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•7mo 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.

Scaling LLMs to Larger Codebases

https://blog.kierangill.xyz/oversight-and-guidance
76•kierangill•2h ago•39 comments

The biggest CRT ever made: Sony's PVM-4300

https://dfarq.homeip.net/the-biggest-crt-ever-made-sonys-pvm-4300/
146•giuliomagnifico•4h ago•89 comments

Jimmy Lai Is a Martyr for Freedom

https://reason.com/2025/12/19/jimmy-lai-is-a-martyr-for-freedom/
44•mooreds•48m ago•6 comments

The ancient monuments saluting the winter solstice

https://www.bbc.com/culture/article/20251219-the-ancient-monuments-saluting-the-winter-solstice
137•1659447091•8h ago•74 comments

A year of vibes

https://lucumr.pocoo.org/2025/12/22/a-year-of-vibes/
123•lumpa•7h ago•64 comments

Show HN: Netrinos – A keep it simple Mesh VPN for small teams

https://netrinos.com
60•pcarroll•2d ago•29 comments

Uplane (YC F25) Is Hiring Founding Engineers (Full-Stack and AI)

https://www.useparallel.com/uplane1/careers
1•MarvinStarter•44m ago

Benn Jordan – This Flock Camera Leak Is Like Netflix for Stalkers [video]

https://www.youtube.com/watch?v=vU1-uiUlHTo
32•SamInTheShell•25m ago•4 comments

There's no such thing as a fake feather [video]

https://www.youtube.com/watch?v=N5yV1Q9O6r4
35•surprisetalk•4d ago•11 comments

Microsoft will kill obsolete cipher that has wreaked decades of havoc

https://arstechnica.com/security/2025/12/microsoft-will-finally-kill-obsolete-cipher-that-has-wre...
81•signa11•6d ago•46 comments

Programming languages used for music

https://timthompson.com/plum/cgi/showlist.cgi?sort=name&concise=yes
177•ofalkaed•1d ago•69 comments

A guide to local coding models

https://www.aiforswes.com/p/you-dont-need-to-spend-100mo-on-claude
549•mpweiher•20h ago•304 comments

Debian's Git Transition

https://diziet.dreamwidth.org/20436.html
102•all-along•9h ago•26 comments

If you don't design your career, someone else will (2014)

https://gregmckeown.com/if-you-dont-design-your-career-someone-else-will/
296•TheAlchemist•7h ago•155 comments

Deliberate Internet Shutdowns

https://www.schneier.com/blog/archives/2025/12/deliberate-internet-shutdowns.html
269•WaitWaitWha•3d ago•137 comments

How I protect my Forgejo instance from AI web crawlers

https://her.esy.fun/posts/0031-how-i-protect-my-forgejo-instance-from-ai-web-crawlers/index.html
112•todsacerdoti•1d ago•63 comments

Show HN: Backlog – a public repository of real work problems

https://www.worldsbacklog.com/
87•anticlickwise•9h ago•20 comments

Spotify reportedly investigating Anna's Archive's scraping of their library

https://www.billboard.com/business/streaming/spotify-music-library-leak-1236143970/
17•ikamm•54m ago•15 comments

Decompiling the Synergy: Human–LLM Teaming in Reverse Engineering [pdf]

https://www.zionbasque.com/files/papers/dec-synergy-study.pdf
26•matt_d•4d ago•1 comments

Show HN: An easy way of broadcasting radio around you (looking for feedback)

https://github.com/dpipstudio/botwave
7•douxx•4d ago•0 comments

Disney Imagineering Debuts Next-Generation Robotic Character, Olaf

https://disneyparksblog.com/disney-experiences/robotic-olaf-marks-new-era-of-disney-innovation/
252•ChrisArchitect•19h ago•102 comments

The U.S. Is Funding Fewer Grants in Every Area of Science and Medicine

https://www.nytimes.com/interactive/2025/12/02/upshot/trump-science-funding-cuts.html
98•karakoram•1h ago•94 comments

Aliasing

https://xania.org/202512/15-aliasing-in-general
77•ibobev•6d ago•21 comments

Webb observes exoplanet that may have an exotic helium and carbon atmosphere

https://science.nasa.gov/missions/webb/nasas-webb-observes-exoplanet-whose-composition-defies-exp...
112•taubek•3d ago•28 comments

Functional Flocking Quadtree in ClojureScript

https://www.lbjgruppen.com/en/posts/flocking-quadtrees
93•lbj•6d ago•10 comments

CO2 batteries that store grid energy take off globally

https://spectrum.ieee.org/co2-battery-energy-storage
326•rbanffy•1d ago•269 comments

I'm just having fun

https://jyn.dev/i-m-just-having-fun/
457•lemper•6d ago•209 comments

Cartoon Network channel errors (1995 – 2025)

https://cnas.fandom.com/wiki/Channel_Errors
82•Pikamander2•8h ago•24 comments

Build Android apps using Rust and Iced

https://github.com/ibaryshnikov/android-iced-example
140•rekireki•15h ago•62 comments

Flock Exposed Its AI-Powered Cameras to the Internet. We Tracked Ourselves

https://www.404media.co/flock-exposed-its-ai-powered-cameras-to-the-internet-we-tracked-ourselves/
15•chaps•1h ago•11 comments