The last line of the picture contains some 'noise': 0000000000000000000000000000000000000000000000000001000101101001 So the idea is that you produce any 63x64 binary image then you find a number up to 2^64 so that added to the number represented by the first image gives a prime. It's not exactly amazing, but clever enough.
Or you can move the image on canvases of different size until you find a position/size where it is prime. Several other methods can work... Primes are not rare at all - average prime gaps are fairly small in that domain...
A prime number whose binary representation looks like a giraffe
21–30 of 82 posts
Re: A prime number whose binary representation looks like a giraffe
#22Re: A prime number whose binary representation looks like a giraffe
#23Earlier quoted context omitted.
Or you can move the image on canvases of different size until you find a position/size where it is prime. Several other methods can work... Primes are not rare at all - average prime gaps are fairly small in that domain...
Isn't the largest gap for any prime sqrt(n) ?
Re: A prime number whose binary representation looks like a giraffe
#24Earlier quoted context omitted.
Isn't the largest gap for any prime sqrt(n) ?
not even close. the average gap is closer to log(n).
Re: A prime number whose binary representation looks like a giraffe
#25Earlier quoted context omitted.
I had the same sort of idea, and just implemented it in Python using gmpy2 for the primality check. Here's a prime smiley face: 111010101111001000110101111111001001000010000 000000000000000000000000000000000000000000001 000000000000000001110111111100000000000000001 100000000000011110000000000011010000000000001 000000000011100000000000000000011100000000000 100000000100000000000000000000000011000000001 1000000110000000…
It is provably prime; I got Mathematica to generate a certificate for it in about five minutes using `PrimeQCertificate`.
Re: A prime number whose binary representation looks like a giraffe
#26The last line of the picture contains some 'noise': 0000000000000000000000000000000000000000000000000001000101101001 So the idea is that you produce any 63x64 binary image then you find a number up to 2^64 so that added to the number represented by the first image gives a prime. It's not exactly amazing, but clever enough.
Re: A prime number whose binary representation looks like a giraffe
#27The last line of the picture contains some 'noise': 0000000000000000000000000000000000000000000000000001000101101001 So the idea is that you produce any 63x64 binary image then you find a number up to 2^64 so that added to the number represented by the first image gives a prime. It's not exactly amazing, but clever enough.
I'm just disappointed that the noise isn't hidden in the pattern on the giraffe.
Re: A prime number whose binary representation looks like a giraffe
#28The last line of the picture contains some 'noise': 0000000000000000000000000000000000000000000000000001000101101001 So the idea is that you produce any 63x64 binary image then you find a number up to 2^64 so that added to the number represented by the first image gives a prime. It's not exactly amazing, but clever enough.
Or you can move the image on canvases of different size until you find a position/size where it is prime. Several other methods can work... Primes are not rare at all - average prime gaps are fairly small in that domain...
Re: A prime number whose binary representation looks like a giraffe
#29Earlier quoted context omitted.
not even close. the average gap is closer to log(n).
where log(n) is the natural logarithm of n https://en.wikipedia.org/wiki/Prime_number_theorem