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

A walking tour of surveillance infrastructure in Seattle

https://coveillance.org/a-walking-tour-of-surveillance-infrastructure-in-seattle/
162•eustoria•3h ago•63 comments

Fidonet: Technology, Use, Tools, and History (1993)

https://www.fidonet.org/inet92_Randy_Bush.txt
81•BruceEel•3h ago•29 comments

Adafruit Receives Demand Letter from Fenwick Legal Counsel on Behalf of Flux.ai

https://blog.adafruit.com/
441•semanser•7h ago•176 comments

Why Janet? (2023)

https://ianthehenry.com/posts/why-janet/
344•yacin•7h ago•167 comments

Expanding Project Glasswing

https://www.anthropic.com/news/expanding-project-glasswing
78•surprisetalk•3h ago•82 comments

Love systemd timers

https://blog.tjll.net/you-dont-love-systemd-timers-enough/
220•yacin•7h ago•148 comments

The newest Instagram “exploit” is the goofiest I've seen

https://www.0xsid.com/blog/meta-account-takeover-fiasco
2073•ssiddharth•1d ago•461 comments

Reviving Teletext for Ham Radio

https://spectrum.ieee.org/reviving-teletext-for-ham-radio
37•yarapavan•4d ago•16 comments

CSS-Native Parallax Effect

https://dan-webnotes.com/posts/2026-06-02-css-native-parallax-effect/
99•dandep•6h ago•46 comments

Stop Ruining It

https://seths.blog/2026/06/stop-ruining-it/
138•herbertl•7h ago•56 comments

Show HN: Eyeball

https://eyeball.rory.codes/
141•mrroryflint•8h ago•52 comments

Can the stockmarket swallow Anthropic, SpaceX and OpenAI?

https://www.economist.com/finance-and-economics/2026/06/01/can-the-stockmarket-swallow-anthropic-...
591•1vuio0pswjnm7•17h ago•1014 comments

Preparing for KDE Plasma's Last X11-Supported Release

https://blog.davidedmundson.co.uk/blog/596/
68•jandeboevrie•2h ago•65 comments

Why Custom Attributes in .NET Give Me Nightmares

https://blog.washi.dev/posts/custom-attributes-and-why-they-suck/
52•jandeboevrie•2d ago•14 comments

Squillions: How money laundering won

https://www.lrb.co.uk/the-paper/v48/n09/john-lanchester/squillions
113•rwmj•2d ago•98 comments

Great Question (YC W21) Is Hiring Applied AI Interns

https://www.ycombinator.com/companies/great-question/jobs/J5TNvQH-ai-engineer-intern
1•nedwin•5h ago

Webcam head tracking, webcam to control in‑game FOV

https://www.openfov.com/
64•mwit2023•3d ago•36 comments

macOS needs its grid back

https://blog.hopefullyuseful.com/blog/macos-needs-its-grid-back/
356•ranebo•15h ago•226 comments

PCMFlowG722 wideband (HD voice) codec for ESP32

https://github.com/tanakamasayuki/PCMFlowG722
14•zdw•3d ago•1 comments

CQL: Categorical Databases

https://categoricaldata.net/
83•noworriesnate•3d ago•30 comments

Apple rejected my dictation app for using the accessibility API

https://www.mitmllc.com/blog/apple-rejected-my-dictation-app/
227•RZelaya•5h ago•133 comments

Chipotlai Max

https://github.com/cyberpapiii/chipotlai-max
336•nigelgutzmann•18h ago•56 comments

OpenAI frontier models and Codex are now available on AWS

https://openai.com/index/openai-frontier-models-and-codex-are-now-available-on-aws/
344•typpo•19h ago•118 comments

The S in Interoperability

https://frederikbraun.de/the-s-in-interoperability.html
5•conslit•2d ago•1 comments

Strace-ui, Bonsai_term, and the TUI renaissance

https://blog.janestreet.com/strace-ui-bonsai-term-and-the-tui-renaissance/
122•matt_d•13h ago•63 comments

Debug Project

https://debug.com/
264•Eridanus2•20h ago•107 comments

Microsoft builds MacBook Pro rival with NVIDIA-powered Surface Laptop Ultra

https://www.windowslatest.com/2026/06/01/microsoft-builds-its-ultimate-macbook-pro-rival-with-the...
272•jbk•1d ago•573 comments

AI Agent Guidelines for CS336 at Stanford

https://github.com/stanford-cs336/assignment1-basics/blob/main/CLAUDE.md
480•prakashqwerty•1d ago•148 comments

Should you normalize RGB values by 255 or 256?

https://30fps.net/pages/255-vs-256-division/
310•pplanu•23h ago•129 comments

Fooling around with encrypted reasoning blobs

https://blog.cryptographyengineering.com/2026/05/29/fooling-around-with-encrypted-reasoning-blobs/
145•supermatou•4d ago•32 comments