Follow Slashdot blog updates by subscribing to our blog RSS feed

 



Forgot your password?
typodupeerror
×
Google Businesses The Internet

Google's Math Puzzle 564

An anonymous reader writes "Commuters in Cambridge, Mass., are scratching their heads over signs challenging passers-by to solve a complicated math problem. The mysterious banners are actually a job-recruiting pitch from Google."
This discussion has been archived. No new comments can be posted.

Google's Math Puzzle

Comments Filter:
  • Frustrating (Score:5, Interesting)

    by ajs ( 35943 ) <{ajs} {at} {ajs.com}> on Thursday September 16, 2004 @10:34AM (#10265974) Homepage Journal
    I spent two days on the second puzzle (the number from e just leads you to a site with the real puzzle), only to realize that the answer was far, far simpler than I had been looking for. I think buildings two blocks down heard the "Doh!" ;-)

    A hint for those who want it...

    If you're searching through all of your number theory memories and reference texts for a solution, you've left the solution far behind.
  • by Anonymous Coward on Thursday September 16, 2004 @10:35AM (#10265999)
    Reminds me of the recruitment method at my old university. If you could hack into and leave a message in the private mailbox of the head of IT you got an interview for a post-grad job.
  • by not_a_product_id ( 604278 ) on Thursday September 16, 2004 @10:37AM (#10266026) Journal
    {first 10-digit prime found in consecutive digits of e}.com

    In case you're wondering -- or forgot -- e is the base of the natural system of logarithms, having a numerical value of about 2.71828 (though the number goes on forever).


    Get file with copy of prime numbers. Get file with copy of largest precision of e. Use perl to scan for all 10 digit primes and then look for the first one in e.

    Profit


    or am I missing something?

  • Interesting (Score:5, Interesting)

    by meganthom ( 259885 ) on Thursday September 16, 2004 @10:37AM (#10266028)
    Personally, I like this approach. Maybe the problem isn't extraordinarily difficult to solve, but the ad itself has a useful purpose for Google's HR department: it finds people who are willing to solve a problem whose solution is not immediately obvious without any immediate gain, other than satisfying their curiosity. That has to be a nice plus for Google. They can limit their hiring process to those individuals and from there give them more challenging problems, take them through the interview process, etc.
  • E A S Y (Score:5, Interesting)

    by StevenHenderson ( 806391 ) <stevehenderson.gmail@com> on Thursday September 16, 2004 @10:39AM (#10266056)
    Easy solution:

    Use Google to find the solution to Google's puzzle. [google.com]

    Guess they just want people who know how to use a search engine. :)

  • by maxwell demon ( 590494 ) on Thursday September 16, 2004 @10:41AM (#10266086) Journal
    I guess they are clever enough to filter out all requests having slashdot.org as referrer.
  • Re:The Answer (Score:5, Interesting)

    by lukewarmfusion ( 726141 ) on Thursday September 16, 2004 @10:42AM (#10266095) Homepage Journal
    I saw this on Google Blog a few weeks ago and decided to try it out. Like nearly every problem I encounter, I also check Google for a solution and came up with it right quick. So I'm a little surprised it took so long to make it onto Slashdot.

    Anyway, I guess I wasn't paying that close of attention during the IPO thing -

    From the Wikipedia article: "In the IPO filing for Google, Inc., in 2004, rather than a typical round-number amount of money, the company announced its intention to raise $2,718,281,828, which is, of course, e billion dollars to the nearest integer."
  • Why? (Score:3, Interesting)

    by Jodka ( 520060 ) on Thursday September 16, 2004 @10:47AM (#10266152)
    I have heard rumors that Microsoft does something similar, pose math riddles during job interviews.

    I suspect these are just ways around the legal prohibitions on testing job candidates. Employers want to identify the smartest job applicants, and these informal riddles allow them to do that legally.
  • by Anonymous Coward on Thursday September 16, 2004 @10:48AM (#10266176)
    The best method I've seen is taking e and use DNS to find the look for domains that resolve: see http://use.perl.org/~davorg/journal/19837 [perl.org]
  • The Answer (Score:2, Interesting)

    by p0 ( 740290 ) on Thursday September 16, 2004 @10:49AM (#10266191)

    The digits are 7427466391.

    Here is the website [7427466391.com] which has another puzzle, and it says :

    Congratulations. You've made it to level 2. Go to www.Linux.org and enter Bobsyouruncle as the login and the answer to this equation as the password.

    f(1)= 7182818284
    f(2)= 8182845904
    f(3)= 8747135266
    f(4)= 7427466391
    f(5)= __________

    The answer here is 5966290435. This number can also be found in the sequence of 'e'
  • by slashpot ( 11017 ) on Thursday September 16, 2004 @10:52AM (#10266214)
    Google sucks ass anyway (not the search engine, working for the company). If you don't want to move to Mt. View California about the only jobs available at their data centers all over America are hardware managers (ooh - order replacement ide drives...) and data center techs. Google is screwing the hell out the data center techs, luring people into quitting stable jobs for a chance to get in the door at Google - using "contract positions" to build the data centers while leading people into thinking they'll get hired on and can climb their ladder to a sys admin position. If you don't believe, me do a quick monster.com search. Guess what happens when the data centers are built and the techies contracts are up... "Don't do evil" my ass.

  • by Florian Weimer ( 88405 ) <fw@deneb.enyo.de> on Thursday September 16, 2004 @10:52AM (#10266224) Homepage
    about 20 mins worth of programming, and i'm not that smart. it ends up taking you to this page.

    This one is actually quite easy. We look for a particular host name in Google's address space. So let's try:

    $ host www.google.com
    www.google.com is an alias for www.google.akadns.net.
    www.google.akadns.net has address 216.239.59.147
    www.google.akadns.net has address 216.239.59.99
    www.google.akadns.net has address 216.239.59.104
    $ dnslog 216.239.59.0/24 | grep '^[1-9][0-9]*\.com.A'
    $

    Hmm, no luck. What about the /16?

    $ dnslog 216.239.0.0/16 | grep '^[1-9][0-9]*\.com.A'
    466453.com A 216.239.37.99
    466453.com A 216.239.39.99
    7427466391.com A 216.239.53.184
    466453.com A 216.239.57.99
    $

    Well, we have a candidate, and it is indeed the correct one.

    Once you have that domain name, you can search for more information [google.com].

  • by Threni ( 635302 ) on Thursday September 16, 2004 @10:55AM (#10266255)
    > Remember kids, you don't have to KNOW anything any more. This is the age of the
    > search engine.

    You never had to "know" anything, it's just that it was easier/cheaper/quicker to know something, or employ someone who knew, than it was to look it up. This is increasingly no longer true.
  • Re:Frustrating (Score:3, Interesting)

    by ajs ( 35943 ) <{ajs} {at} {ajs.com}> on Thursday September 16, 2004 @11:02AM (#10266320) Homepage Journal
    BTW: ITA Software [itasoftware.com] has some really good programming puzzles [itasoftware.com] if you're looking for something that's a real challenge. If you're an admin, and you submit a resume for that job [itasoftware.com] we send you a different, more ops-oriented puzzle that you might enjoy.
  • by nehumanuscrede ( 624750 ) on Thursday September 16, 2004 @11:16AM (#10266475)
    My last two issues of Mensa Bulletin have come with the same type 'ads / puzzles'. The last issue came with a small ( 21 question ) aptitude test / basic resume type question layout complete with a return envelope.

    A few sample questions from it:

    #2 Write a haiku describing possible methods for predicting search traffic seasonality.

    #4 You are in a maze of twisty little passages, all alike. There is a dusty laptop here with a weak wireless connection. There are dull, lifeless gnomes strolling about. What dost thou do?

    A) Wander aimlessly, bumping into obstacles until you are eaten by a grue.

    B) Use the laptop as a digging device to tunnel to the next level.

    C) Play MPoRPG until the battery dies along with your hopes.

    D) Use the computer to map the nodes of the maze and discover an exit path.

    E) Email your resume to Google, tell the lead gnome you quit and find yourself in a whole different world.

    #9 This space left intentionally blank. Please fill it with something that improves upon emptiness.

    #17 Consider a function which, for a given whole number n, returns the number of ones required when writing out all numbers between 0 and n. For example, f(13)=6. Notice that f(1)=1. What is the next largest n such that f(n)=n?

    #20 What number comes next in the sequence: 10, 9, 60, 90, 70, 66, ?

    A) 96

    B) 1 followed by 100 zeros ( a Googol )

    C) Either of the above

    D) None of the above

    #21 In 29 words or fewer, describe what you would strive to accomplish if you worked at Google Labs.

  • Re:Interesting (Score:1, Interesting)

    by Anonymous Coward on Thursday September 16, 2004 @11:22AM (#10266562)
    A friend in the industry claims that these aren't actually an HR department thing, but a marketing thing. Google doesn't hire much and the point is to make it look like they have only clever people etc. Try calling up and finding out exactly who you are talking to, which department they work in and which department that one belongs to.

    Needless to say they couldn't even bother to have a machine acknowledge my existence when I sent my resume in.
  • Re:I wonder (Score:3, Interesting)

    by NoMoreNicksLeft ( 516230 ) <john.oylerNO@SPAMcomcast.net> on Thursday September 16, 2004 @11:28AM (#10266629) Journal
    I actually figured it out the hard way (still cheated, used online resources to check e versus primes).

    The second puzzle, at that site, is really stumping me. If there is indeed a third, I don't stand a chance.
  • by smaksly ( 751439 ) on Thursday September 16, 2004 @11:34AM (#10266708)
    You get 466453 if you type google on a phone keypad.
  • Schools (Score:3, Interesting)

    by maggard ( 5579 ) <michael@michaelmaggard.com> on Thursday September 16, 2004 @11:38AM (#10266772) Homepage Journal
    Why Cambridge's Harvard Square? 'Cause it's a popular hangout for students & recently-student folks out for dinner, a show, some shopping (still has a few good bookstores.) Check out this list of area-schools and see why companies retain offices in the area just for recruiting Of course the local hi-tech/biotech/medical/finance/insurance/governme nt industries all also bring in, and offer up, a lot of folks too. I'm only in town part-time but it does make for a heady mix of bright-types.
  • by Anonymous Coward on Thursday September 16, 2004 @11:40AM (#10266783)
    And what are those brilliant people to do who understand the nuances of language but cannot express them in equations? Fill up a cube farm where they answer queries sent through a search engine?

    After all the whole purpose of Google is to transform language knowledge to a form understandable to computers, and the areas of language that cannot be reached by equations cannot be reached by a computer program such as Google, and thus they are essentially irrelevant to Google.
  • by stuffduff ( 681819 ) on Thursday September 16, 2004 @11:46AM (#10266868) Journal
    I recently got a new cell phone. I took information for a search and asked for a vanity number. Then I kept hearing the numbers as they told me what was available, checking it and telling them 'no.' Finally on the 11th try I got an acceptible number. What I was searching for was a 7 digit prime. Fortunately the number with area code was the product of two primes as well. Now I can give out either the ordinal index of the prime for the local, or the prime factors of the 10 digit number. People who are unable to deal with the math just can't call me!
  • by Graff ( 532189 ) on Thursday September 16, 2004 @11:58AM (#10267014)
    The URL was really 1828675309.com and let you to an OGG of Blink182 singing the standard Reebok commercial.

    On a side note, someone was very clever over at Cingular.com [cingular.com]. The URL 8675309.com [8675309.com] redirects you to Cingular's web site. I'm sure that only a small percentage of people have tried that URL but I'm sure that means that hundreds or thousands of people were redirected.

    Someone was definitely thinking when they set that up.
  • Re:Why? (Score:3, Interesting)

    by Jodka ( 520060 ) on Thursday September 16, 2004 @12:16PM (#10267262)
    "What? There's nothing illegal about testing candidates. You can't discriminate on sex or race, but testing skills is totally ok."

    It is illegal to give job candidates intelligence tests. So if you want smart employees, you need to find a way around the law.

    Legally, the determination of whether you are engaged in discrimitory hiring practices is not based only on your intent. It also includes discrepant impact; If any any test which you administer as part of you job selection process favors a particlar race, then you are guilty of discrimimation. Courts have ruled that tests which measure intelligence are an illegal test for purposes selecting job candidates.

    The only exception is that if you can show that that the test specifically measures the skill required for the job. For example, you could give driving tests to drivers. I doubt that if these same math riddles were posed on a written exam that they would pass that legal test for job-relatedness. Google would have to show in court that searching for prime numbers was part of the work that these employees would be expected to do on the job. They ony way employers can get away with this is to pose the same questions informally.
  • by bob_jenkins ( 144606 ) on Thursday September 16, 2004 @12:19PM (#10267296) Homepage Journal
    Oh. My strategy was to google for "consecutive digits of e prime". Google told me the answer, that the site pointed to another site, and that it was in the end an ad for Google engineers. I mighta switched to Teoma once I saw Google was involved, I don't remember.

    What I want to know is the point behind that other billboard on 101, the one that says "Applications extreme makeovers TENFOLD HOTTER THAN HELL" and has a picture of a hairy pig wearing sunglasses and a scarf. I was guessing it was associated with the digits-of-e billboard, because both so completely fail to communicate anything useful to the passing motorist.
  • by Anonymous Coward on Thursday September 16, 2004 @12:48PM (#10267690)
    "I guess they are clever enough to filter out all requests having slashdot.org as referrer."

    a: they're not
    b: you could type it
    c: it's an email address
  • by liamo ( 699840 ) on Thursday September 16, 2004 @01:34PM (#10268285)
    Or you could copy e to 10,000 places [wikisource.org]
  • Re:aaah (Score:1, Interesting)

    by Anonymous Coward on Thursday September 16, 2004 @01:49PM (#10268495)
    The answer to the second problem is exactly the same solution as the first. Just script the login with consecutive 10 digits of e unitl you get in.
  • by humphrm ( 18130 ) on Thursday September 16, 2004 @02:35PM (#10269041) Homepage
    Here's a supposedly true story I heard in some class years ago - probably dynamics or physics or organic or something...

    A physics teacher gives each student a barometer, and tells them that using only the barometer and brief visits to the town's tallest building, they have to determine the height of the building. Grades would be awarded based on the most creative solution.

    One student started at the top, took a reading, moved to the ground floor, took a reading, and then based on that information and the barometric pressure that day, determined the approximate height of the building.

    Other students basically copied the first, although with different variations (bottom to top, etc)

    The student who received the only A? He went to the basement. Found the building engineer's office. Knocked on the door. Told the guy who answered, "I have a fine barometer. If you tell me exactly how tall this building is, it's yours."
  • by rsd ( 194962 ) on Thursday September 16, 2004 @02:50PM (#10269233) Homepage
    The sum to all digits turns to be 49.

    there is no function to it.

    The variable in f(x) as f(1), f(2) is the x position of a ten digit number that sums to be 49.

    With a tiny perl program it turns to be: 5966290435
    This is in position 128 in the exp(1) number.

  • by kent.dickey ( 685796 ) on Thursday September 16, 2004 @03:49PM (#10270055)
    If you go a little higher, you get a fun number:

    1111111110 == 1111111110

    which is floor((10^10/9) - 1).

    Note that since 500,000,001 worked, and 1 works and 500,000,000 has no 1's in it, then any working values from 0-499,999,999 will repeat with 500,000,000 added. After that, the one above is the only one through 2 billion (where I stopped looking).
  • by spoonyfork ( 23307 ) <spoonyfork AT gmail DOT com> on Thursday September 16, 2004 @05:50PM (#10271587) Journal

    I'm curious what sort of person can do this

    I'm not the original poster but I did solve the puzzles this afternoon without "cheating". I'm a psychology/philosophy major that hasn't seen a math book in 10 years and I was able to figure it out. What I find interesting is that the answer to the first question (at least how I solved it) was an indirect hint at how to solve the second puzzle. Good luck, it was fun to work through it.

  • by EngMedic ( 604629 ) on Thursday September 16, 2004 @11:17PM (#10273867) Homepage
    this story has been around a long, long time -- i heard it first in AP Chem in high school. google for it, but the "traditional" text generally credits neils bohr as being the student :

    Sir Ernest Rutherford, President of the Royal Academy, and recipient of the Nobel Prize in Physics, related the following story:

    Some time ago I received a call from a colleague. He was about to give a student a zero for his answer to a physics question, while the student claimed a perfect score. The instructor and the student agreed to an impartial arbiter, and I was selected.

    I read the examination question: "Show how it is possible to determine the height of a tall building with the aid of a barometer."

    The student had answered: "Take the barometer to the top of the building, attach a long rope to it, lower it to the street, and then bring it up, measuring the length of the rope. The length of the rope is the height of the building."

    The student really had a strong case for full credit since he had really answered the question completely and correctly! On the other hand, if full credit were given, it could well contribute to a high grade in his physics course and certify competence in physics, but the answer did not confirm this.

    I suggested that the student have another try. I gave the student six minutes to answer the question with the warning that the answer should show some knowledge of physics. At the end of five minutes, he hadn't written anything. I asked if he wished to give up, but he said he had many answers to this problem; he was just thinking of the best one. I excused myself for interrupting him and asked him to please go on in the next minute, he dashed off his answer, which read:

    "Take the barometer to the top of the building and lean over the edge of the roof. Drop the barometer, timing its fall with a stopwatch. Then, using the formula x=0.5*a*t^2, calculate the height of the building."

    At this point, I asked my colleague if he would give up. He conceded, and gave the student almost full credit. While leaving my colleague's office, I recalled that the student had said that he had other answers to the problem, so I asked him what they were.

    "Well," said the student, "there are many ways of getting the height of a tall building with the aid of a barometer. For example, you could take the barometer out on a sunny day and measure the height of the barometer, the length of its shadow, and the length of the shadow of the building, and by the use of simple proportion, determine the height of the building."

    "Fine," I said, "and others?"

    "Yes," said the student, "there is a very basic measurement method you will like. In this method, you take the barometer and begin to walk up the stairs. As you climb the stairs, you mark off the length of the barometer along the wall. You then count the number of marks, and this will give you the height of the building in barometer units. A very direct method."

    "Of course. If you want a more sophisticated method, you can tie the barometer to the end of a string, swing it as a pendulum, and determine the value of g [gravity] at the street level and at the top of the building. From the difference between the two values of g, the height of the building, in principle, can be calculated."

    "On this same tack, you could take the barometer to the top of the building, attach a long rope to it, lower it to just above the street, and then swing it as a pendulum. You could then calculate the height of the building by the period of the precession."

    "Finally," he concluded, "there are many other ways of solving the problem. Probably the best," he said, "is to take the barometer to the basement and knock on the superintendent's door. When the superintendent answers, you speak to him as follows: 'Mr. Superintendent, here is a fine barometer. If you will tell me the height of the building, I will give you this barometer.'"

    At this point, I asked the student if he really did not know the c
  • by chongo ( 113839 ) * on Friday September 17, 2004 @12:33AM (#10274228) Homepage Journal
    The temperature of Hell is an old physics geek problem. The calculation tale [bellarmine.edu] varies, but they state something to the effect that:
    The temperature of hell is
    > 388.36K and < 717.87K because under 1 atm pressure, molten Sulphur (".. into the lake which burneth with fire and brimstone ...") is liquid over that range.
    So "TENFOLD HOTTER" would make "extreme makeovers" > 3883.6K and < 7178.7K.

    Note that surface of the Sun is usually estimated to be about 5780K which is similar to the midpoint of the hell temperature range (5531.15K).

    Therefore one might conclude that these "extreme makeovers" might be brilliant ... thus the need for sun glasses. :-)

    I'm sure other interpretations exist.

  • Re:aaah (Score:3, Interesting)

    by Inspector Lopez ( 466767 ) on Friday September 17, 2004 @04:07AM (#10274865) Journal
    jerf remarks:

    This is not a mathematical problem. It tries to pretend to be one, but it is not. Generally, once you know the constraints the solution is trivial.


    The correct mathematical answer to all such sequences remains "The next number is whatever the hell it feels like being". I have better things to do with my time then try to second-guess somebody pretending to be clever and plucking some random thing out of the uncountably infinite set and demanding that I guess it. Thus, I don't do these puzzles; they're sophmoric in the literal sense of the term, created by people who think they are clever but don't seem to have a deep understanding of math.

    People who "solve" the puzzle may impress Google, but I am not impressed by Google using this as a puzzle.


    On the other hand, did Google ever claim that this was a math problem? It is a problem, sure, but it is obviously not a request for a proof of Goldbach's conjecture. Jerf critiques the problem as "sophomoric" but I think that Jerf's complaint is "beating up a strawman" --- he claims that Google posed a math problem and then declares the problem stupid. It is a stupid math problem ... but it's a fun stupid problem.

    And, after all, there is a specific set of correct answers, which are perfectly apparent to those who solve the suggested problems --- because they lead to recognition by somebody, perhaps Google --- of particular, quite reasonable answers. If you type in random responses, you're just incredibly unlikely to stumble into the "honeypot."

    So (blush, gloat) I have to admit enjoying 45 minutes in the solution of the problems, when I should have been doing what I'm actually supposed to be doing. If only for providing me with 45 minutes of fun, I'm grateful for the problem --- math problem or no.

    The quasi-mathematical nature of the problems requires one to either "cheat" by invoking search engines (which, as some have pointed out, may be a perfectly valid solution method as far as Google is concerned), or to demonstrate familiarity with computer tools that facilitate the discovery of the answers.

    The very first problem is quite well posed, and if you can figure out how to generate the ten digit numbers, you don't have to look very far. A subsequent problem is very ill-posed (as jerf points out), but nevertheless a "human" is capable of inferring a kind of pattern with far less information than a "mathematician" would consider acceptable. Surely this is precisely the sort of thing that we hope search engines will do for us.

    It was fun. Probably Google isn't going to offer me a job, but I had fun. Is that so bad?

The one day you'd sell your soul for something, souls are a glut.

Working...