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•9mo ago

Comments

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

Sizing chaos

https://pudding.cool/2026/02/womens-sizing/
564•zdw•12h ago•310 comments

27-year-old Apple iBooks can connect to Wi-Fi and download official updates

https://old.reddit.com/r/MacOS/comments/1r8900z/macos_which_officially_supports_27_year_old/
340•surprisetalk•13h ago•183 comments

15 years of FP64 segmentation, and why the Blackwell Ultra breaks the pattern

https://nicolasdickenmann.com/blog/the-great-fp64-divide.html
115•fp64enjoyer•8h ago•39 comments

Cosmologically Unique IDs

https://jasonfantl.com/posts/Universal-Unique-IDs/
387•jfantl•15h ago•116 comments

Anthropic officially bans using subscription auth for third party use

https://code.claude.com/docs/en/legal-and-compliance
359•theahura•7h ago•428 comments

Step 3.5 Flash: Fast Enough to Think. Reliable Enough to Act

https://static.stepfun.com/blog/step-3.5-flash/
78•kristianp•7h ago•26 comments

Visualizing the ARM64 Instruction Set (2024)

https://zyedidia.github.io/blog/posts/6-arm64/
39•userbinator•3d ago•3 comments

Tailscale Peer Relays is now generally available

https://tailscale.com/blog/peer-relays-ga
410•sz4kerto•17h ago•197 comments

How to choose between Hindley-Milner and bidirectional typing

https://thunderseethe.dev/posts/how-to-choose-between-hm-and-bidir/
95•thunderseethe•3d ago•20 comments

Zero-day CSS: CVE-2026-2441 exists in the wild

https://chromereleases.googleblog.com/2026/02/stable-channel-update-for-desktop_13.html
339•idoxer•17h ago•179 comments

Fff.nvim – Typo-resistant code search

https://github.com/dmtrKovalenko/fff.nvim
36•neogoose•2d ago•1 comments

A word processor from 1990s for Atari ST/TOS is still supported by enthusiasts

https://tempus-word.de/en/index
51•muzzy19•2d ago•17 comments

DNS-Persist-01: A New Model for DNS-Based Challenge Validation

https://letsencrypt.org/2026/02/18/dns-persist-01.html
272•todsacerdoti•16h ago•118 comments

US funding for global internet freedom 'effectively gutted'

https://www.theguardian.com/world/2026/feb/19/us-funding-for-global-internet-freedom-effectively-...
62•xyzal•3h ago•34 comments

Old School Visual Effects: The Cloud Tank (2010)

http://singlemindedmovieblog.blogspot.com/2010/04/old-school-effects-cloud-tank.html
14•exvi•3h ago•2 comments

How AI is affecting productivity and jobs in Europe

https://cepr.org/voxeu/columns/how-ai-affecting-productivity-and-jobs-europe
121•pseudolus•9h ago•81 comments

Stoolap/Node: A Native Node.js Driver That's Surprisingly Fast

https://stoolap.io/blog/2026/02/19/introducing-stoolap-node/
22•murat3ok•4h ago•11 comments

Antarctica sits above Earth's strongest 'gravity hole' – how it got that way

https://phys.org/news/2026-02-antarctica-earth-strongest-gravity-hole.html
3•bikenaga•2d ago•2 comments

Minecraft Java is switching from OpenGL to Vulkan

https://www.gamingonlinux.com/2026/02/minecraft-java-is-switching-from-opengl-to-vulkan-for-the-v...
208•tuananh•8h ago•76 comments

Show HN: A Lisp where each function call runs a Docker container

https://github.com/a11ce/docker-lisp
38•a11ce•5h ago•12 comments

The Perils of ISBN

https://rygoldstein.com/posts/perils-of-isbn
128•evakhoury•16h ago•63 comments

All Look Same?

https://alllooksame.com/
72•mirawelner•11h ago•52 comments

A Pokémon of a Different Color

https://matthew.verive.me/blog/color/
110•Risse•3d ago•16 comments

Electrobun v1: Build fast, tiny, and cross-platform desktop apps with TypeScript

https://blackboard.sh/blog/electrobun-v1/
97•merlindru•6h ago•28 comments

R3forth: A concatenative language derived from ColorForth

https://github.com/phreda4/r3/blob/main/doc/r3forth_tutorial.md
87•tosh•14h ago•15 comments

Making a font with ligatures to display thirteenth-century monk numerals

https://digitalseams.com/blog/making-a-font-with-9999-ligatures-to-display-thirteenth-century-mon...
83•a7b3fa•3d ago•12 comments

Mark Zuckerberg to testify in landmark social media trial

https://www.ft.com/content/0c6d8ff6-f207-431b-bfb9-1d8b42bb4b6d
82•1vuio0pswjnm7•3h ago•51 comments

Making the Vortex Mixer

https://www.asimov.press/p/vortex
9•surprisetalk•2d ago•1 comments

Metriport (YC S22) is hiring a security engineer to harden healthcare infra

https://www.ycombinator.com/companies/metriport/jobs/XC2AF8s-senior-security-engineer
1•dgoncharov•13h ago

What Every Experimenter Must Know About Randomization

https://spawn-queue.acm.org/doi/pdf/10.1145/3778029
80•underscoreF•15h ago•52 comments