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

Comments

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

Securing a DoD Contractor: Finding a Multi-Tenant Authorization Vulnerability

https://www.strix.ai/blog/how-strix-found-zero-auth-vulnerability-dod-backed-startup
109•bearsyankees•2h ago•37 comments

I am worried about Bun

https://wwj.dev/posts/i-am-worried-about-bun/
218•remote-dev•3h ago•129 comments

Talking to strangers at the gym

https://thienantran.com/talking-to-35-strangers-at-the-gym/
847•thitran•8h ago•418 comments

GameStop makes $55.5B takeover offer for eBay

https://www.bbc.co.uk/news/articles/cn0p8yled1do
550•n1b0m•10h ago•482 comments

How OpenAI delivers low-latency voice AI at scale

https://openai.com/index/delivering-low-latency-voice-ai-at-scale/
19•Sean-Der•25m ago•5 comments

Microsoft Edge stores all passwords in memory in clear text, even when unused

https://twitter.com/L1v1ng0ffTh3L4N/status/2051308329880719730
156•cft•1h ago•67 comments

Does Employment Slow Cognitive Decline? Evidence from Labor Market Shocks

https://www.nber.org/papers/w35117
129•littlexsparkee•4h ago•107 comments

Redis array: short story of a long development process

https://antirez.com/news/164
169•antirez•5h ago•63 comments

US healthcare marketplaces shared citizenship and race data with ad tech giants

https://techcrunch.com/2026/05/04/us-healthcare-marketplaces-shared-citizenship-and-race-data-wit...
301•ZeidJ•2h ago•94 comments

Let's Talk about LLMs

https://www.b-list.org/weblog/2026/apr/09/llms/
41•cdrnsf•2h ago•17 comments

Stop big tech from making users behave in ways they don't want to

https://economist.com/by-invitation/2026/04/29/stop-big-tech-from-making-users-behave-in-ways-the...
149•andsoitis•2h ago•86 comments

UK Fuel Price Intelligence

https://www.fuelinsight.co.uk
121•theazureguy•4h ago•52 comments

Pomiferous: The most extensive apples (pommes) database

https://pomiferous.com/
71•Ariarule•5h ago•20 comments

How Monero's proof of work works

https://blog.alcazarsec.com/tech/posts/how-moneros-proof-of-work-works
177•alcazar•5h ago•140 comments

Heat pump sales rise across Europe

https://www.pv-magazine.com/2026/05/04/heat-pump-sales-rise-17-across-europe-in-q1-as-energy-pric...
110•doener•2h ago•33 comments

1966 Ford Mustang Converted into a Tesla with Working 'Full Self-Driving'

https://electrek.co/2026/05/02/tesla-1966-mustang-ev-conversion-full-self-driving/
66•Brajeshwar•4h ago•49 comments

White House Considers Vetting A.I. Models Before They Are Released

https://www.nytimes.com/2026/05/04/technology/trump-ai-models.html
42•jbegley•50m ago•13 comments

Sierra Raises $950M at $15B Valuation

https://sierra.ai/blog/better-customer-experiences-built-on-sierra
46•doppp•4h ago•68 comments

Show HN: nfsdiag - a NFS diagnostic application

https://github.com/lsferreira42/nfsdiag
12•lsferreira42•2d ago•0 comments

Offenders sentenced up to 10 years for spying on TSMC

https://www.taipeitimes.com/News/front/archives/2026/04/28/2003856358
62•ironyman•2h ago•0 comments

Newton's law of gravity passes its biggest test

https://www.science.org/content/article/newton-s-law-gravity-passes-its-biggest-test-ever
103•pseudolus•7h ago•84 comments

'Kitten Space Agency', the Spiritual Successor to 'Kerbal Space Program' (2025)

https://www.space.com/entertainment/space-games/kitten-space-agency-is-the-spiritual-successor-to...
73•Tomte•2h ago•23 comments

Trillions in Retirement Dollars Flow into Opaque Trusts

https://www.bloomberg.com/news/features/2026-05-03/trillions-in-us-retirement-dollars-flow-into-o...
71•koolhead17•2h ago•8 comments

Alberta voter list leak is a potential public safety disaster

https://globalnews.ca/news/11828244/alberta-voter-list-leak-public-safety-disaster/
93•Teever•4h ago•63 comments

Using “underdrawings” for accurate text and numbers

https://samcollins.blog/underdrawings/
345•samcollins•3d ago•126 comments

OpenAI, Google, and Microsoft Back Bill to Fund 'AI Literacy' in Schools

https://www.404media.co/literacy-in-future-technologies-artificial-intelligence-act-adam-schiff-m...
83•cdrnsf•3h ago•79 comments

Why are neural networks and cryptographic ciphers so similar? (2025)

https://reiner.org/neural-net-ciphers
102•jxmorris12•2d ago•32 comments

BYOMesh – New LoRa mesh radio offers 100x the bandwidth

https://partyon.xyz/@nullagent/116499715071759135
459•nullagent•1d ago•149 comments

Texico: Learn the principles of programming without even touching a computer

https://www3.nhk.or.jp/nhkworld/en/shows/texico/
168•o4c•2d ago•14 comments

Days without GitHub incidents

https://www.dayswithoutgithubincident.com/
323•goalieca•2h ago•128 comments