upvote
There are about 18.446 quintillion more 64-bit integers than 32-bit integers.
reply
True, but there are as many 64-bit integers as pairs of 32-bit integers.

Therefore the fact that relatively few 64-bit numbers are products of 32-bit integers means that a lot of pairs of 32-bit integers give by multiplication the same product.

reply
I think they meant to write "There are about 4 billion TIMES more 64 bit integers than 32 bit integers".
reply
Indeed, edited the mistake
reply
There are about 2^64 more 64-bit integers than 32-bit integers.
reply
deleted
reply
The chance of a random 64-bit integer matching some pair of 32-bit integers is a 100%, though.
reply
Or, the odds of a random 64-bit integer being a 32-bit integer are the same as you or me guessing a random 32 bit integer.
reply
Wonder what the limit is as you add more 32 bit integers to the product. Just the primes over 32 bit?
reply
If you're allowed to multiply as many 32-bit numbers as you want, the only numbers you won't be able to achieve by so doing are those with any prime factor larger than 2^32.

This is more than just the prime numbers. For example, a 41-bit prime can be multiplied by 16 and it will still fit into 64 bits.

reply
deleted
reply
deleted
reply
What are you assuming about overflow? Three 32-bit numbers multiply out to 96 bits.
reply
deleted
reply