frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Right-Truncatable Prime Counter

https://github.com/EbodShojaei/Right-Truncatable-Primes
9•rainmans•1y ago

Comments

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

GPT-6 Sol and Luna

https://openai.com/index/introducing-gpt-6-sol-and-luna/
1107•OfficialTurkey•6h ago•575 comments

Claude Opus 5.5

https://www.anthropic.com/claude-opus-5-5
1147•km144•7h ago•786 comments

'We hacked the FBI:' Hackers say they have data on all FBI employees

https://www.404media.co/we-hacked-the-fbi-hackers-say-they-have-data-on-all-fbi-employees/
343•spenvo•6h ago•232 comments

OpenAI GPT–6 Astra breaks Enigma message that has resisted solution since 2005

https://www.cryptocellar.org/bgac/the-mvueh-break.html
544•sohkamyung•10h ago•354 comments

ReBarUEFI: Resizable BAR for almost any UEFI system

https://github.com/xCuri0/ReBarUEFI
45•nateb2022•1d ago•13 comments

Microsoft killed FoxPro in 2007. Anyway, here's FoxPro revived

https://foxscript.org/
142•boredjohnny•3h ago•109 comments

What California is learning from solar panels built over irrigation canals

https://www.kqed.org/science/2002033/heres-what-california-is-learning-from-solar-panels-built-ov...
82•Jtsummers•21h ago•106 comments

Claude Opus 5.5 Intelligence, Performance and Price Analysis (Max)

https://artificialanalysis.ai/models/claude-opus-5-5
225•theanonymousone•7h ago•62 comments

SAML: A fractal of bad design

https://blog.trailofbits.com/2026/09/21/saml-a-fractal-of-bad-design/
134•aray07•5h ago•79 comments

Pentagon says overreliance on AI contributed to missile strike on Iran school

https://www.bloomberg.com/graphics/2026-iran-school-attack/
364•devonnull•5h ago•185 comments

Unreal Agent

https://unreallabs.ai/blog/unreal-agent/
119•trollied•6h ago•71 comments

WordPress: Unauthenticated path traversal leading to conditional RCE

https://github.com/WordPress/wordpress-develop/security/advisories/GHSA-7hp8-65ch-5whp
149•vntok•7h ago•77 comments

The current balance of power in open models

https://www.interconnects.ai/p/the-current-balance-of-power-in-open
25•gmays•2h ago•7 comments

How did AMD Ryzen get 50% faster in two years?

https://lemire.me/blog/2026/09/18/how-did-amd-ryzen-get-50-faster-in-two-years/
190•ibobev•4d ago•64 comments

Native apps written in TypeScript and CSS

https://github.com/geastack/examples
72•arbayi•4h ago•20 comments

MUNI Heritage Weekend in San Francisco

https://daniel.lawrence.lu/blog/2026-09-20-muni-heritage-weekend/
152•plun9•2d ago•40 comments

Show HN: JevBench, a reproducible benchmark for typed decision models

https://benchmarkheaven.com/jev-models
56•florianstandhar•11h ago•10 comments

Markdown in /src

https://htmx.org/essays/markdown-in-src/
83•perrygeo•1d ago•41 comments

OpenAI is well positioned to fast-follow Jev

https://arcturus-labs.com/blog/2026/09/21/will-openai-eat-jevs-lunch/
253•JohnBerryman•9h ago•188 comments

Obscura: VPN that can't log your activity

https://obscura.com/#faq-technical
71•Flimm•4h ago•71 comments

Make Math Automatic with Mathy

https://gmays.com/making-math-automatic-with-mathy/
6•gmays•1d ago•0 comments

The UV index is not the warm sensation of sunlight on bare skin

https://blog.asciitweezers.com/the-uv-index-is-not-the-warm-sensation-of-sunlight-on-bare-skin/
53•evakhoury•3h ago•47 comments

George Lucas Returns to Earth, Bearing Gifts

https://commonedge.org/george-lucas-returns-to-earth-bearing-gifts/
73•surprisetalk•1d ago•39 comments

The new CC, an AI agent built for families

https://blog.google/innovation-and-ai/models-and-research/google-labs/cc-expanding-to-groups/
3•grigy•42m ago•0 comments

Show HN: Training a model to identify AI web content from structure alone

https://arxiv.org/abs/2609.15369
38•jochenmadler•11h ago•8 comments

People hooked on vapes try a new way to quit: cigarettes

https://www.bloomberg.com/news/articles/2026-09-18/to-quit-vaping-some-are-starting-to-smoke
95•alephnerd•23h ago•85 comments

16-bit Intel 8088 chip (c. 1985)

https://allpoetry.com/16-bit-Intel-8088-chip
104•rbanffy•8h ago•13 comments

Launch HN: Coverage Cat (YC S22) – Umbrella insurance via your personal agent

https://www.coveragecat.com/
42•botacode•7h ago•23 comments

Apple has added persistent 'ads' to iOS, and it's driving users crazy

https://www.techradar.com/phones/iphone/i-wish-apple-would-just-stop-that-crap-apple-has-added-pe...
590•MC995•9h ago•443 comments

The JavaScript Midlife Crisis

https://maroun-baydoun.com/blog/javascript-midlife-crisis/
35•maroun-baydoun•4h ago•15 comments