This is actually a Google recruiting Web siteJUL 12 2004

This is actually a Google recruiting Web site. A correct answer takes you to Google's Web site.

There are 7 reader comments

Anthony Langford26 12 2004 6:26PM

5966290435

Satyajit Grover55 13 200412:55AM

There is also a not-so-secret Google recruiting puzzle in the opening pages of the Aug. 2004 issue of Dr. Dobb's Journal.

cyberhill49 13 2004 1:49AM

I hope they were only wanting one algorithm expert, because after so many news sites and weblogs have posted the answers to the puzzle and some even a link to the final page - the email address listed has got to have been spammed by so many illegitimate users.

Darin01 14 2004 4:01AM

Ah shucks, I spent three hours figuring this one out and then I realize you can just Google it. Gosh. Anyhow, I went through the effort of trying to solve it as a cos equation (which I actually managed, it is a non-symetrical parabola and thus a y= equation is possible). Then looking at f(1) i realized that it was the first ten digits of e. Then I found a copy of the first 10000000 digits or whatever of e and looked for the other number sets. Then tried to find a common thread a la Russle Crow in A Beautiful Mind. Found out that the presented sets all added up to 49, found the next set that did that, entered it and poof-- Google Labs recruitment page.

kip30 14 200410:30AM

Result 5966290435. :-)

#include

#define m 520
#define n 1005

int main(int argc, char **argv){

int i, k, r, rip=0, c, sum=49, index;

int A[m][n], E[n];

A[1][0]=1;

for(i=1; i A[1][i]=0;
}

for(k=2; k r=0;
for(i=0; i A[k][i]=(r+A[k-1][i])/k;
r=((r+A[k-1][i])%k)*10;
}
}
printf("\nScrittura Matrice Terminata\n");

for(c=n; c>0;c--){
E[c]=rip;

for(i=1; i E[c]=E[c]+A[i][c];
}
rip=E[c]/10;
E[c]=E[c]%10;
}
printf("e=2,");

for(i=1; i printf("%d", E[i]);
}
for(index=1;index sum=(sum-E[index]+E[index+10]);
if(sum==49)
printf("\nsum=%d\n",index);
}
}

vonkamyk19 23 200412:19PM

What is a math equation e function f(5)? How did you find correctly equation?

This thread is closed to new comments. Thanks to everyone who responded.

kottke.org

Front page
About + contact
Site archives

Subscribe

Follow kottke.org on Twitter

Follow kottke.org on Tumblr

Like kottke.org on Facebook

Subscribe to the RSS feed

Sponsored by

Ads by The Deck

Support kottke.org shop at Amazon

And more at Amazon.com

Looking for work?

More listings on the Job Board

 

Happy Cog Hosting