I found an 1800 digit prime number that is also the Trump mugshot
(media.greatawakening.win)
🗣️ AUTISM FTW 💬
Comments (44)
sorted by:
Here is the number:
111111111151111111111111111111111111111111111111111111111111 111111111111111111111111111111111111111111111111111111111111 111811111111111111114111111111111111131111111111111111111111 111111111111111111111111111111111111111111111111111111111111 111111111111111111111111111111111111118811111111111111111111 111111111111111111111111111111111111111118111111111111111111 111111111131111111111111888111111111111111111111111111111111 111111111111111111111188888811111111111111111111111711111111 111111111111111111111888888881111111111111111111111111111111 111111111111111111111888881188111111111111111111111111111111 111111111111111111118888818818111111111111111111111111111111 111111111111111111118888888881111881111111111111111111111111 111111111111111111118888888888888118811111111881888111111111 111111111111111111188888888888888881188111181888881111111111 111111111111111111118888888881118888888888111111881111111111 111111111111111111111888888888888888888888888881811111111111 111111111111111111111888888888888888881888881111111111111111 111111111111111111111188888888888888881188888118111111111111 111111111111111111111118888888888888881188888881111111111111 111111111111111111111188188888888888811118888881111111111111 111111111111111111888888188888888888888811888888111111111111 111111111111888888888888118888888888888816181888888888811111 111111888888888888888888811888888888888811888888888888888888 188888888888888888888888881118888888888888188888888888888888 888888888888888388888888881111188888888888111888888888888888 888888888888888888888888881111111888888111111888888888888888 888882888888888888888888881111111188888111111888888888888888 888888888888888888888888881111118888888111111188888888888888 888888888888888888888888888111118118888111111188888888888888 888888888888888888888888888818111188881111111188888888888889
Working on some more!
I wrote a simple Python script that takes an image as input, thresholds it and converts each pixel into a digit, then alters individual digits until the number is a prime number.
It takes about 5 minutes for a number of this size. I am not sure it will ever finish for larger images, but I am trying to find out right now.
NERD! 😉
Well done.
Programmer here. You wrote a program to do that? That's very impressive if true! There are some freeware that do it but if you wrote your own that's cool AF. Plus it will do numbers only. Which probably isn't an option in other programs. Great work patriot.
Y'all should get together
Great job!
Nice work, I think with the Elon X logo number people were really reading more into it than was warranted. People saying there is that "17" in there for some purpose, when really it's just to make it a prime number.
Yeah, I agree. The algorithm behind it must be very similar. Brute force. Not much else.
That's impressive! I had to learn Fortran as my "language" in undergraduate college (mid-70s), back when it was computer cards, and a large program was a few hundred cards :) I mostly forgot it but had to learn again a few years later when in graduate school (the first time). I was testing the use of a contracted computer service via a 56K Baud modem, by writing a program to calculate pi to something like 8 places. It took a few seconds of the computer time, and got billed at a couple hundred dollars, if I remember correctly :) I would later go back to grad school and had to learn Fortran for a third time, this time writing significantly longer programs :) I ended up writing one to do image analysis, and if I saw a printout of that program today, I wouldn't even know what it was doing (I remember that I had to do bit manipulation of the binary image files; totally amazes me today to think that I actually wrote that program!)
Found another one (aspect ratio is off):
111111111111111111111111111111111111111111111111111111111411111111111111111111111111111111 111111111111111111111111111111411111111111111111111111111111111111111111111111111111111111 118888888888888888888888888888888888888888888888888888888888888888888888888888888888888811 118888888888888888888888888888888888888888888888888888888888888888888888888888888888888811 118888888888888888888888888888888888888888888888888888888888888888888888888888888888888811 118888888888888888868888888888888811181111816118111181118888888888888888888888888888888811 118888888888888888888888888888888811888118881188811888118888888888888888888888888888888811 118888888888888888888888888888888888888888888888888888888888888888888888888868888888888811 118888888888888888888888888888888888888888888888888888888888888888888888888888888888888811 118888888888888888888888888888888888888888888888888887888888888888888888888888888888888811 118888888888888888888888888888888888888888888888888888888888888888888888888888888888888811 118888888888888888888888888888888888888888888888888888888888888888888888888888888888888811 118888888888888888888888888888888888888888888888888888888888888888888888888888888888888811 118488888888888888888888888888888888888888888888888888888888888888888888888888888888888811 118888888888881181111118111888118118121118111818111811888811811111118818111118888888888811 118888888888811881181118181888118111181118181811888811888181118811118881881818888888888813 118888888888811881881888118881118181181888118811888811188188111181888111881888858888888811 118888888888818181111118188881881188181118181818118188188811118811118188181818888888881811 118888888888888888888888888898888888888888888888888888888888888888887888888888888888888811 118888888888888888888888888888888888888888888888888888888888888888888888888888888888888811 118888888888888888888888888888888888888888888888888888888888888888888888888888888888888811 118888888888811111111118811111111188881118888111188111118881111188111111117888888888888811 118888888888811111111118811111111118881118888111188111118881111188111111111188888888888811 118888888888811111111118811111111111881118888111188111118881111188111111111118888888888811 118888888888888811118888811188881011881118888111188111118881111188111188881118888888888811 118888888888888811118888811188888111881118888111188111111811111188111188881118888888888811 118888888888888811118888811188881111881118888111188111111811111188111188881118888888888811 118888888888888811118888811111111111881118888111188111811811811188111111111118888888888811 118888888888888811118888811111111118881118888111188111811111811188111111111188888888888811 118888888888888811118888811111111188881118888111188111811111811188111111111888888888888811 118888888888888811118888811188811188881118888111188111811111811188111188888888888888888811 118888888888888811118888811188811118881111111111888111881118811188111188888888888888888811 118888888888888811118888811188881118888111111111888111881118811188111188888888888888888811 118888888888888811118888811188881111888811111118888111881118811188111188888888888888888811 118888888888888888888888888888888888888888888888888888888888888888888888888888888888888811 118888888888888888888888888888888888888888888888888888888888888888888888888888888888888811 118888888888888888888888888888888888888888888888888888888888888888888888888888888888888811 118888888888888888888888888888888888888888888888888888888888888888888888888888888888888811 118888888888888888888888888288811888888118888881188888888888888888888888888888888888888811 118888888888888888888888888881111118881111188811111888811118888888888888888888888888888811 111888888888888888888888888881188118811881188118811888811118888888888888888888888888888811 118888888888888888888888888888888118811888118888811888118118888888888888888888888888888811 118888888888888888888888888888881118811888118888111888188118888888888888888888888888888811 118888888888888888888888888888811188811888118888118881188118888888888888888888888888888811 118888888888888888888888888888111888811881118881188881111111888888888888888888888888888811 118888888888888888888888888881118888811881188111888881111111888888888888888888888888888811 118888888888888888888888888881111118881111188111111188888118888888888888888888888888888811 118888888888888888888888888888888888888888888888888888888888888888888888888888888888888811 118888888888888888888888888888888888888888888888888888888888888888888888888888888888888811 118888888888888888888888888888888888888888888888888888888888888288888888888888888888888811 118888888888888888888888888888888888888888888888888888888888888888888888888888888888888811 118888888888888888888888888888888888888888888888888888888888888888888888888888888888888811 118888888888888888888888888888888881888888888888888888188888888888888888888888888888888811 118888888888888888888888888888888811888118881188811888118888888888888888888888888888888811 118888888888888888588888888888888818888188881188881888818888888888888888888888888888888811 118888888888888888888888888888888888888888888888888888888888888888888888888888888888888811 118888888888888888888888888888858888888888888888888888888888888888888888888888888888888811 118888888888888888888888888888888888888888888888888888888888888888888888888888888888888811 111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111 111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111
It's the Trump 2024 logo xD
Or view as an image over here: https://ibb.co/1f21HVx
WOW!!!
Getting the "autism for the win" tag made me laugh so hard, because I actually have "assburgers" (Aspergers) or what they call "high functioning autism" nowadays.
How do you know if you have high functioning autism?
You write python code that takes an image as input, thresholds it and converts each pixel into a digit, then alters individual digits until the number is a prime number.
u/#careerended
KEK.
Funny, I have that too.
Did you the see 17 in there? Another patriot pointed it out a few days ago.
Yeah, this will happen, especially since I made the script change 1s into 7s before changing it to anything else.
But it is just "brute force". It entirely depends on randomly changing digits and you just have to wait until it finds a solution. There is nothing clever behind this.
Nice work.
Nice!
needs moar 17s and 45s
hahaa i'm an asshole, have fun tweaking your script
45 is a good idea. Had not thought of that. Once the current run is done, I will implement that.
This is how memes are made perfect. They guys who can do well, working with the guys who recall interesting details, and BOOM framing is made great.
Absolutely amazing.
Does this have meaningful relevance to what Musk posted?
Well, yes and no. You can literally turn any image into a prime number, given the image is not too large (I can do 60x30 pixels in about 5 minutes now). It does not scale linearly; a 90x60 pixel image seems to take forever right now.
The whole thing is still single-threaded, so I could make it 32 times faster immediately if I weren't so lazy...
I set it up such that the input image is converted to black and white. I use 1 for white and 8 for black.
When I change the number (after establishing it is not a prime number), I pick a random digit and if the value is 1, I change it to 7, to make sure it is "light" and does not become too dark. Also, I want to specifically increase the likelihood of finding prime numbers with a 17 in it :-) If the value is not 1, I just pick another random digit between 0 and 9, excluding the current value, of course.
The script is completely suboptimal. There are multiple conversions between strings, lists and integers. You could probably make it 100 times faster easily, but I am just having a beer and love programming.
Yes, how lazy of you, indeed. I'd have made it 32 times faster before making this post if I were you. And if I had a fraction of a clue relating to exactly what the fuck you're talking about here lol Unforgivable laziness aside, that's pretty sweet!
No worries. I have started 32 threads for a 100x100 image now. 10,000 digits. Suck on that, Elon! xD I hope it will finish before midnight here.
I have such a deep love for programming (technically Python is scripting). It relaxes me beyond words. My dad intoduced me to AmigaBasic in the early 80s and I was hooked immediately. It is what saved my life. I could not hold down any other job than writing code, to be perfectly honest.
Early 90s I tinkered with G & Q Basic. Was best in my class & then hit a wall with C.
I keep being told I would love scripting if I would just give it a try. Maybe I should tinker with it at some point.
Kek! When someone can make me laugh, it creates a great moment in my day!
Haha glad I could help
How many lines of code is the program?
Can you make images of other things using the same steps?
Op just discovered ascii art.
Haha nah, I have been writing stuff like this since 1993 (Turbo Pascal).
Nice. Github the script?
You scurvy dog!
i cant top that, nor want to !
Is 1-800-563-7448 prime?
No. 2 * 2 * 2 * 17 * 132394393
cool thanks! Btw Did you look at the letters that the phone number spells?
Found the 17