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.

Zebra-Llama: Towards Efficient Hybrid Models

https://arxiv.org/abs/2505.17272
42•mirrir•2h ago•12 comments

GrapheneOS is the only Android OS providing full security patches

https://grapheneos.social/@GrapheneOS/115647408229616018
364•akyuu•8h ago•144 comments

Tiny Core Linux: a 23 MB Linux distro with graphical desktop

http://www.tinycorelinux.net/
315•LorenDB•8h ago•147 comments

OMSCS Open Courseware

https://sites.gatech.edu/omscsopencourseware/
91•kerim-ca•3h ago•34 comments

Coffee linked to slower biological ageing among those with severe mental illness

https://www.kcl.ac.uk/news/coffee-linked-to-slower-biological-ageing-among-those-with-severe-ment...
40•bookofjoe•1h ago•15 comments

Z-Image: Powerful and highly efficient image generation model with 6B parameters

https://github.com/Tongyi-MAI/Z-Image
200•doener•6d ago•68 comments

HTML as an Accessible Format for Papers

https://info.arxiv.org/about/accessible_HTML.html
183•el3ctron•7h ago•96 comments

CATL Expects Oceanic Electric Ships in 3 Years

https://cleantechnica.com/2025/12/05/catl-expects-oceanic-electric-ships-in-3-years/
25•thelastgallon•2h ago•32 comments

Show HN: Tascli, a command line based (human) task and record manager

https://github.com/Aperocky/tascli
9•Aperocky•1h ago•1 comments

Autism's confusing cousins

https://www.psychiatrymargins.com/p/autisms-confusing-cousins
191•Anon84•11h ago•206 comments

Abstract Interpretation in the Toy Optimizer

https://bernsteinbear.com/blog/toy-abstract-interpretation/
25•ChadNauseam•2d ago•5 comments

Touching the Elephant – TPUs

https://considerthebulldog.com/tte-tpu/
138•giuliomagnifico•10h ago•42 comments

Wave of (Open Street Map) Vandalism in South Korea

https://www.openstreetmap.org/user/KennyDap/diary/407844
8•shortrounddev2•15m ago•0 comments

Finding Gene Cernan's Missing Moon Camera

https://www.spacecamera.co/articles/2020/3/3/gene-cernans-missing-lunar-surface-camera
51•theodorespeaks•3d ago•5 comments

The unexpected effectiveness of one-shot decompilation with Claude

https://blog.chrislewis.au/the-unexpected-effectiveness-of-one-shot-decompilation-with-claude/
159•knackers•1w ago•84 comments

Infisical (YC W23) Is Hiring Engineers to Build the Modern OSS Security Stack

https://www.ycombinator.com/companies/infisical/jobs/2pwGcK9-senior-full-stack-engineer-us-canada
1•vmatsiiako•5h ago

Linux Instal Fest Belgrade

https://dmz.rs/lif2025_en
138•ubavic•12h ago•19 comments

Term-keys – Lossless keyboard input for Emacs

https://github.com/CyberShadow/term-keys
8•harryday•6d ago•0 comments

A compact camera built using an optical mouse

https://petapixel.com/2025/11/13/this-guy-built-a-compact-camera-using-an-optical-mouse/
226•PaulHoule•3d ago•43 comments

Self-hosting my photos with Immich

https://michael.stapelberg.ch/posts/2025-11-29-self-hosting-photos-with-immich/
603•birdculture•6d ago•341 comments

How the 'hypnagogic state' of drowsiness could enhance your creativity

https://theconversation.com/how-the-hypnagogic-state-of-drowsiness-could-enhance-your-creativity-...
8•zeristor•54m ago•0 comments

Kids who ran away to 1960s San Francisco

https://www.fieldnotes.nautilus.quest/p/the-kids-who-ran-away-to-1960s-san
118•zackoverflow•4d ago•18 comments

Mapping Amazing: Bee Maps

https://maphappenings.com/2025/11/06/bee-maps/
50•altilunium•6d ago•29 comments

Cloudflare outage on December 5, 2025

https://blog.cloudflare.com/5-december-2025-outage/
754•meetpateltech•1d ago•548 comments

Nook Browser

https://browsewithnook.com
91•ray__•19h ago•75 comments

Traveling Neighborhoods

https://supernuclear.substack.com/p/traveling-neighborhoods
7•surprisetalk•6d ago•3 comments

Copy-Item is 27% slower than File Explorer

https://til.andrew-quinn.me/posts/copy-item-is-27-percent-slower-than-file-explorer-drag-and-drop...
14•hiAndrewQuinn•55m ago•7 comments

How I discovered a hidden microphone on a Chinese NanoKVM

https://telefoncek.si/2025/02/2025-02-10-hidden-microphone-on-nanokvm/
331•ementally•8h ago•92 comments

Show HN: TapeHead – A CLI tool for stateful random access of file streams

https://github.com/emamoah/tapehead
4•emamoah•2h ago•0 comments

Gemini 3 Pro: the frontier of vision AI

https://blog.google/technology/developers/gemini-3-pro-vision/
542•xnx•1d ago•278 comments