3 ms·
Repeated exactly 74,207,281 times, to be precise...
by yen223 11y ago
Repeated exactly 74,207,281 times, to be precise...
- seibelj 11y agoNo, the number 5 is prime, yet in binary it is 101. The new prime number could have many zeroes interspersed with ones, so you don't know how many 1 digits it has. EDIT: I have realized my mistake in the representation of 2's complement. However, I will leave this here for posterity.
- theandrewbailey 11y agoBut 5 is not 2^n-1
- eggy 11y ago5 is a prime number true, but not a Mersenne prime number. The Mersenne prime number 31 has 5 as its exponent n [1]. [1] http://mathworld.wolfram.com/MersennePrime.html http://mathworld.wolfram.com/MersennePrime.html
- gill984 11y agoIt's a Mersenne Prime, so it is 1 less than some power of 2. This results in all of its non-leading digits in binary being 1s.
- deleted 11y ago[deleted]