← Retour au blog
tech 1 June 2026

Only 17% of 64-bit Integers are Products of Two 32-bit Integers

Discover why such a small proportion of 64-bit integers can be achieved by multiplying two 32-bit integers. A fascinating journey into the world of numbers.

Article inspired by the original source
Only 17% of all 64-bit Integers are products of two 32-bit integers ↗ lemire.me

Introduction

In the vast universe of numbers, the rules of multiplication can sometimes yield surprising results. A recent study shows that a small percentage of 64-bit integers can be obtained by multiplying two 32-bit integers. Specifically, only 17% of 64-bit integers are products of two 32-bit integers. How is this possible? Could this have implications for how we approach numerical computation and programming?

The Nature of 32-bit and 64-bit Integers

To understand this phenomenon, it is essential to delve into the basics of number systems in computing. A 32-bit integer is a number that can be represented by 32 binary digits. The largest positive 32-bit integer is 2^32 - 1, which is 4,294,967,295. Similarly, a 64-bit integer extends to 2^64 - 1, or 18,446,744,073,709,551,615.

When multiplying two 32-bit integers, the largest possible product is (2^32 - 1) * (2^32 - 1), which gives just over 18 quintillion, or 18,446,744,073,709,551,225, almost the entirety of the 64-bit space. Yet, this covers only a very small subset of all possible 64-bit integers.

Why Only 17%?

The answer lies in how the products distribute across the 64-bit integer space. Although the maximum product is close to the upper limit of 64-bit integers, the distribution of products is not uniform.

For each pair of 32-bit integers (a, b), the product a * b results in only one 64-bit integer. However, this relationship is not reversible: many 64-bit integers cannot be decomposed into products of two 32-bit integers. In fact, many of them are either too large to be reached by simply multiplying two 32-bit numbers or cannot be expressed as a product of two reasonably-sized factors.

Practical Implications

This phenomenon has practical implications, particularly in cryptography and numerical computing. For instance, in cryptography, fast multiplication of large numbers is essential for encryption algorithms, and understanding the limits of such multiplications can help optimize these processes.

In programming, this also means that developers need to be aware of these limitations when designing applications that rely on intensive numerical calculations. Relying on products of two 32-bit integers to generate 64-bit integers could limit the space of possible results, which might not be suitable for certain applications.

Conclusion

The discovery that only 17% of 64-bit integers are products of two 32-bit integers is more than a mathematical curiosity. It highlights a fundamental limitation in how numbers are manipulated at the binary level. For developers and tech decision-makers, understanding these nuances is crucial for optimizing application performance and security.

Let's discuss your project in 15 minutes.

64-bit integers 32-bit integers multiplication numerical computing cryptography
Deepthix newsletter · 100% AI · every Monday 8am

An AI agent reads tech for you.

Our AI agent scans ~200 sources per week and ships the best articles to your inbox Monday 8am. Free. One click to unsubscribe.

Visit the newsletter page →

Want to automate your operations?

Let's talk about your project in 15 minutes.

Book a call