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.

Exploit brokers pay $500k for WordPress RCEs. I found one with GPT5.6 and $25

https://slcyber.io/research-center/exploit-brokers-pay-500000-for-a-wordpress-rce-i-found-one-wit...
92•infosecau•2h ago•50 comments

Show HN: I replaced a $120k bowling center system with $1,600 in ESP32s

2356•section33•19h ago•254 comments

Moonshine: Lets you stream games from your PC to any device running Moonlight

https://github.com/hgaiser/moonshine
191•wertyk•10h ago•83 comments

LoRA Speedrun – a public wall-clock leaderboard for fine-tuning techniques

https://github.com/Saivineeth147/lora-speedrun
83•Vineeth147•6h ago•11 comments

Sealed tomb filled with paintings and inscriptions discovered in Egypt

https://www.labrujulaverde.com/en/2026/07/sealed-tomb-of-a-high-official-or-priest-filled-with-pa...
44•isaacfrond•5d ago•34 comments

Eliminating Go bounds checks with unsafe

https://blog.andr2i.com/posts/2026-07-06-eliminating-go-bound-checks-with-unsafe
14•abnercoimbre•5d ago•10 comments

Claude Code uses Bun written in Rust now

https://simonwillison.net/2026/Jul/19/claude-code-in-bun-in-rust/
528•tosh•1d ago•701 comments

Self-Powered Trailers Promise Leaner Freight Runs

https://spectrum.ieee.org/self-powered-trailers-freight-decarbonization
42•rbanffy•1w ago•20 comments

Orion Browser by Kagi

https://orionbrowser.com/
209•sebjones•15h ago•145 comments

What I learned selling 2,500 MIDI recorders: Hardware is not so hard

https://chipweinberger.com/articles/20260719-hardware-is-not-so-hard
495•chipweinberger•23h ago•230 comments

Xiaomi-Robotics-1

https://robotics.xiaomi.com/xiaomi-robotics-1.html
230•ilreb•5h ago•163 comments

Minecraft: Java Edition now uses SDL3

https://www.minecraft.net/en-us/article/minecraft-26-3-snapshot-4
321•ObviouslyFlamer•22h ago•208 comments

The Zen of Parallel Programming

https://smolnero.com/posts/the-zen-of-parallel-programming
165•edgar_ortega•5d ago•23 comments

1-Bit LLM in the Browser

https://huggingface.co/spaces/webml-community/bonsai-webgpu
45•simonebrunozzi•3d ago•14 comments

Bananas sprout in Rayleigh Garden UK after 15 years

https://www.bbc.com/news/articles/cvg8edqq5g5o
160•teleforce•21h ago•119 comments

HomeLab #1: MikroTik as a Home Router

https://justsomebody.dev/blog/mikrotik-home-router
127•rafal_opilowski•15h ago•103 comments

Qwen 3.8

https://twitter.com/Alibaba_Qwen/status/2078759124914098291
887•nh43215rgb•1d ago•618 comments

11,700 Free Photos from John Margolies' Archive of Americana Architecture

https://www.openculture.com/2026/07/free-photos-from-john-margolies-archive-of-americana-architec...
68•gslin•4d ago•2 comments

When can a power company take your land for data center infrastructure?

https://theconversation.com/when-can-a-power-company-take-your-land-for-data-center-infrastructur...
104•1vuio0pswjnm7•6h ago•63 comments

Claude Fable produced a counterexample to the Jacobian Conjecture

https://xcancel.com/__alpoge__/status/2079028340955197566
416•loubbrad•7h ago•252 comments

I joined the IndieWeb, here's what I learned

https://en.andros.dev/blog/0b8e451e/i-joined-the-indieweb-heres-what-i-learned/
208•andros•23h ago•108 comments

Who Is America's Homer?

https://www.plough.com/articles/who-is-americas-homer
81•samclemens•5d ago•171 comments

HMD Touch 4G

https://www.hmd.com/en_int/hmd-touch-4g
79•thisislife2•17h ago•84 comments

I burned all my tokens researching how to save tokens

https://quesma.com/blog/custom-deep-research-pipeline/
134•bkotrys•22h ago•178 comments

C64 Basic Dungeon Crawler: Goblin Attack (C64 Basic Part 8)

https://retrogamecoders.com/c64-basic-dungeon-part8/
76•ibobev•19h ago•6 comments

Talk: The Art of Braiding Algorithms

https://pgadey.ca/notes/talk-relatorium-2026/
43•surprisetalk•4d ago•1 comments

Dupes took over the world

https://www.vox.com/podcasts/493930/dupe-culture-fender-ugg-quince-tiktok-amazon-online-shopping
98•gumby•5d ago•91 comments

Cagire: Live Coding in Forth

https://cagire.raphaelforment.fr
98•surprisetalk•1w ago•14 comments

Korg PS-3300 is back

https://www.korg.co.uk/blogs/updates/ps3300
54•Lio•5d ago•50 comments

Biggest Probabilistic Computer Turns Noise into Answers

https://spectrum.ieee.org/biggest-probabilistic-computer
73•rbanffy•12h ago•13 comments