Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit/AppGameKit Studio Showcase / Prime Number Searcher

Author
Message
LiamBradbury
12
Years of Service
User Offline
Joined: 28th Apr 2011
Location: Manchester, UK
Posted: 3rd Jul 2013 07:46 Edited at: 3rd Jul 2013 16:54
Wrote a quick program which searches for the highest prime number and writes it to a file. You can close the program and open it again and it will start from where it left off.

Don't ask me why! I remember reading somewhere that they are awarding $150,000 to whoever can find the highest prime number, but I think the highest is like 10 million digits long. If you leave it running you might win some money in 50 years time haha was fun making it though.

Heres the code if you wanna try it. It's only short.



audiosparx.com/liambradburymusic - professional music for your games.
Marl
12
Years of Service
User Offline
Joined: 19th Nov 2011
Location: Bradford, UK
Posted: 4th Jul 2013 01:45
Isn't the problem here that your dataset is kinda' Infinite ?

Quote: " I think the highest is like 10 million digits long"

17,425,170 digits to be precise.

If you like big numbers, try googling Grahams number - a number so large that it's not possible to imagine a number large enough to describe the number of digits it has.
easter bunny
11
Years of Service
User Offline
Joined: 20th Nov 2012
Playing: Dota 2

Login to post a reply

Server time is: 2024-04-23 08:33:16
Your offset time is: 2024-04-23 08:33:16