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

430k-year-old well-preserved wooden tools are the oldest ever found

https://archaeologymag.com/2026/01/430000-year-old-wooden-tools-marathousa/
122•bookofjoe•2h ago•69 comments

Xfwl4 – The Roadmap for a Xfce Wayland Compositor

https://alexxcons.github.io/blogpost_15.html
187•pantalaimon•4h ago•114 comments

OpenSSL: Stack buffer overflow in CMS AuthEnvelopedData parsing

https://openssl-library.org/news/vulnerabilities/#CVE-2025-15467
30•MagerValp•1h ago•4 comments

I made my own Git

https://tonystr.net/blog/git_immitation
252•TonyStr•7h ago•102 comments

Amazon to Shut Down All Amazon Go and Amazon Fresh Stores

https://www.wsj.com/business/retail/amazon-to-shut-down-all-amazon-go-and-amazon-fresh-stores-030...
172•gmays•2h ago•124 comments

Heathrow scraps liquid container limit

https://www.bbc.com/news/articles/c1evvx89559o
545•robotsliketea•3d ago•700 comments

Management as AI superpower: Thriving in a world of agentic AI

https://www.oneusefulthing.org/p/management-as-ai-superpower
40•swolpers•1h ago•45 comments

Artie (YC S23) Is Hiring a Founding Recruiter

https://www.ycombinator.com/companies/artie/jobs/MX163y2-founding-recruiter
1•j-cheong•1h ago

A simulation where life unfolds in real time

https://soupof.life
40•maybe-tomorrow•6d ago•15 comments

A first look at Aperture by Tailscale (private alpha)

https://tailscale.com/blog/aperture-private-alpha
17•geoffeg•1h ago•0 comments

SoundCloud Data Breach Now on HaveIBeenPwned

https://haveibeenpwned.com/Breach/SoundCloud
16•gnabgib•55m ago•5 comments

Two Twisty Shapes Resolve a Centuries-Old Topology Puzzle

https://www.quantamagazine.org/two-twisty-shapes-resolve-a-centuries-old-topology-puzzle-20260120/
29•tzury•21h ago•0 comments

Snow Simulation Toy

https://potch.me/2026/snow-simulation-toy.html
131•surprisetalk•1w ago•35 comments

Cloudflare claimed they implemented Matrix on Cloudflare workers. They didn't

https://tech.lgbt/@JadedBlueEyes/115967791152135761
262•JadedBlueEyes•2h ago•112 comments

TikTok users can't upload anti-ICE videos. The company blames tech issues

https://www.cnn.com/2026/01/26/tech/tiktok-ice-censorship-glitch-cec
781•kotaKat•4h ago•531 comments

DHS: Critical ICE Surveillance Footage from Abuse Case Was Never Recorded

https://www.404media.co/dhs-says-critical-ice-surveillance-footage-from-abuse-case-was-actually-n...
16•cf100clunk•40m ago•0 comments

The Enchiridion by Epictetus

https://www.gutenberg.org/files/45109/45109-h/45109-h.htm
65•atropoles•3d ago•28 comments

Velox: A Port of Tauri to Swift by Miguel de Icaza

https://github.com/velox-apps/velox
148•wahnfrieden•1w ago•59 comments

A list of fun destinations for telnet

https://telnet.org/htm/places.htm
249•tokyobreakfast•14h ago•79 comments

The age of Pump and Dump software

https://tautvilas.medium.com/software-pump-and-dump-c8a9a73d313b
149•brisky•4h ago•55 comments

Handling Long Branches

https://maskray.me/blog/2026-01-25-handling-long-branches
21•ingve•1d ago•2 comments

Flexible use of a multi-purpose tool by a cow

https://doi.org/10.1016/j.cub.2025.11.059
7•PlaceboGazebo•5d ago•1 comments

Kimi Released Kimi K2.5, Open-Source Visual SOTA-Agentic Model

https://www.kimi.com/blog/kimi-k2-5.html
394•nekofneko•12h ago•181 comments

Apple introduces new AirTag with longer range and improved findability

https://www.apple.com/newsroom/2026/01/apple-introduces-new-airtag-with-expanded-range-and-improv...
564•meetpateltech•1d ago•678 comments

ChatGPT Containers can now run bash, pip/npm install packages and download files

https://simonwillison.net/2026/Jan/26/chatgpt-containers/
419•simonw•22h ago•297 comments

The hidden engineering of runways

https://practical.engineering/blog/2026/1/20/the-hidden-engineering-of-runways
394•crescit_eundo•1w ago•92 comments

We Do Not Support Opt-Out Forms (2025)

https://consciousdigital.org/why-we-do-not-support-opt-out-forms/
64•mefengl•8h ago•28 comments

The Universal Pattern Popping Up in Math, Physics and Biology (2013)

https://www.quantamagazine.org/in-mysterious-pattern-math-and-nature-converge-20130205/
119•kerim-ca•4d ago•43 comments

Windows 11's Patch Tuesday nightmare gets worse

https://www.windowscentral.com/microsoft/windows-11/windows-11s-botched-patch-tuesday-update-nigh...
410•01-_-•1d ago•317 comments

There is an AI code review bubble

https://www.greptile.com/blog/ai-code-review-bubble
327•dakshgupta•1d ago•219 comments