notbrainsurgery (notbrainsurgery) wrote,
notbrainsurgery
notbrainsurgery

  • Mood:

first 10-digit prime found in consecutive digits of e

Recently riding my motorcycle on highway 101, south of San Francisco I've noticed big advertisement poster:

first 10-digit prime found in consecutive digits of e

(I stole the picture from some later post in spanish who also found the number. When I worked on this, google search did not find any results for this puzzle).

Out of curiosity I decided to find out what it is. Since I am still learning Haskell, I decided that that would be nice Haskell exercise. It was nice exercise indeed, in course of which I have learned more about Haskell and things like Rabin-Miller Probable Prime Test and Spigot Algorithm

Well, I did it and was able to find number. I went to the site, expecting something exiting, but it just says "Congratulations. You've made it to level 2" and offers next puzzle. Frankly, without knowing what it is about (I guess this is a new way to screen employees) I am not very inclined to spend more time solving their puzzles. Also, the next puzzle they offer is of kind I detest: trying to find next number in sequence. I hate when people ask something like this on interviews.

So, being dissapointed for being sent to wild goose chanse without any gratification, I decided to share the answer to their first problem. I hope search engines pick up this page soon and they will have more potential candidates knocking on the door of their second level.

The prime they were asking for is 7427466391.


I will apprecite if somebody who will get through all their puzzles will tell me what it was about.

UPDATE (September 2004): I would like to thank all of you who took their time to let me know that this is Google recruitment campaign. After solving second part of the puzzle I was able to see that for myself. So if you are looking for the answers: your got them right here. You are welcome to read the rest of my blog (or even subscribe to new posts with RSS).
Tags: google, haskell
Subscribe

  • Amazon Instnat Video, Comcast and Google DNS

    As Amazon Prime Customer I have access to Prime Instant Video. I have a PS3 with Amazon Instant Video application connected to my TV which I tried…

  • Google Apps

    My company has recently switched to Google Apps (paid edition). It is not cheap: $50 per user annually, but we decided it is worth it, comparing to…

  • unscientific google chrome performance test

    Google is advertising Chrome as a very fast alternative to other browsers. I am also trying to use Google Wave and I have noticed that on long…

  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 49 comments
Previous
← Ctrl ← Alt
Next
Ctrl → Alt →
Previous
← Ctrl ← Alt
Next
Ctrl → Alt →

  • Amazon Instnat Video, Comcast and Google DNS

    As Amazon Prime Customer I have access to Prime Instant Video. I have a PS3 with Amazon Instant Video application connected to my TV which I tried…

  • Google Apps

    My company has recently switched to Google Apps (paid edition). It is not cheap: $50 per user annually, but we decided it is worth it, comparing to…

  • unscientific google chrome performance test

    Google is advertising Chrome as a very fast alternative to other browsers. I am also trying to use Google Wave and I have noticed that on long…