LOGO
General Discussion Undecided where to post - do it here.

Reply to Thread New Thread
Old 03-05-2007, 04:39 AM   #1
VIDEOHITE

Join Date
Oct 2005
Posts
526
Senior Member
Default ASCII Code
Boo. Lame after the Google stunt.
VIDEOHITE is offline


Old 03-05-2007, 04:41 AM   #2
BashBeissedat

Join Date
Oct 2005
Posts
389
Senior Member
Default
Originally posted by Verto
What Google stunt?
BashBeissedat is offline


Old 03-05-2007, 04:44 AM   #3
sFs4aOok

Join Date
Oct 2005
Posts
491
Senior Member
Default
I see.
sFs4aOok is offline


Old 03-05-2007, 05:35 AM   #4
averkif

Join Date
Oct 2005
Posts
405
Senior Member
Default
Originally posted by cronos_qc
it say:

Now Hiring... Not really
averkif is offline


Old 03-05-2007, 06:59 PM   #5
pymnConyelell

Join Date
Nov 2005
Posts
412
Senior Member
Default
My point was that it was less impressive than the Google one. The problem is trivial compared to the Google billboard. (Both are fairly easy.)
pymnConyelell is offline


Old 03-05-2007, 07:01 PM   #6
PNCarl

Join Date
Oct 2005
Posts
406
Senior Member
Default
Fair enough, but why would anyone want to work for EA?
PNCarl is offline


Old 03-05-2007, 07:03 PM   #7
Enjoymms

Join Date
Oct 2005
Posts
610
Senior Member
Default
Originally posted by Q Cubed
Fair enough, but why would anyone want to work for EA? A couple people here used to work for EA...they all hated it.
Enjoymms is offline


Old 03-05-2007, 08:00 PM   #8
dalnecymync

Join Date
Oct 2005
Posts
467
Senior Member
Default
Originally posted by Kuciwalker
My point was that it was less impressive than the Google one. The problem is trivial compared to the Google billboard. (Both are fairly easy.) Well, if they're both easy then what's the solution to the google one?

Tom P.
(mostly cause I'm so bad at math I'm not even sure I understand the question)
dalnecymync is offline


Old 03-05-2007, 08:10 PM   #9
Nicihntm

Join Date
Oct 2005
Posts
562
Senior Member
Default
Here it is

<img src=http://apolyton.net/upload/thumb/800/3538_google.jpg>
Nicihntm is offline


Old 03-05-2007, 09:08 PM   #10
Creva4k

Join Date
Oct 2005
Posts
382
Senior Member
Default
How would you actually go about this. First calculate e with a gazillion digits, then store it in a variable (can variables even hold that many digits???) and then start from the first digit, and checking if that sequence of 10 digits is a prime, and if not, move 1 digit further and recheck?

Asmodean
Creva4k is offline


Old 03-05-2007, 09:13 PM   #11
Gastonleruanich

Join Date
Oct 2005
Posts
592
Senior Member
Default
Okay....how would anyone BUT Asher do this?

Asmodean
Gastonleruanich is offline


Old 03-05-2007, 09:16 PM   #12
bumxumer

Join Date
Nov 2005
Posts
510
Senior Member
Default
Okay...let's look at it in that context then.

Is a query such as the one you are proposing even possible.

(I assume you would be querying for numerical web adresses with 10 digits)

Asmodean

Edit: Okay...I get it now....you would be querying for domains registered by Google

Asmodean
bumxumer is offline


Old 03-05-2007, 09:24 PM   #13
Pyuvjzwf

Join Date
Oct 2005
Posts
428
Senior Member
Default
However, there can't be that many 10-digit primes (maybe?) - just type them all in and see which brings up a result
Pyuvjzwf is offline


Old 03-05-2007, 09:32 PM   #14
foltdan

Join Date
Oct 2005
Posts
414
Senior Member
Default
Originally posted by Asmodean
How would you actually go about this. First calculate e with a gazillion digits, then store it in a variable (can variables even hold that many digits???) and then start from the first digit, and checking if that sequence of 10 digits is a prime, and if not, move 1 digit further and recheck? Essentially. Except as I noted you can't use a naive check; instead, you have to use a method that is likely to produce the right answer, but not guaranteed.
foltdan is offline


Old 03-05-2007, 10:00 PM   #15
vdw4Epsi

Join Date
Oct 2005
Posts
447
Senior Member
Default
Originally posted by Kuciwalker


Yes, yes there are. I was...you know...joking
vdw4Epsi is offline


Old 03-05-2007, 10:08 PM   #16
pIp83Uns

Join Date
Oct 2005
Posts
530
Senior Member
Default
Originally posted by Lul Thyme


The fact that it's O(sqrt(n)) in itself doesn't mean anything about whether a particular problem is solvable by naive approach. It depends on the constants involved and the size of the problem, among other things.

Asymptotics are all very important, but they don't tell the whole story, and sometimes even tell the wrong story in practical problems.

EDIT1:
you still havn't explained why it being harder to find the "answer" in this case make it lame.
Is google the new threshold for "lameness" for such type of ads in the future?

EDIT2:I really don't see how the naive approach wouldn't work.
From the prime number theorem, the density of primes for 10 digit numbers is about 5%. If the digits of e were random (which they are believed to be for many different definitions), you would expect to find the first prime after 20 tries.
You can plug them in Mathematica by hand, running a Miller Rabin for primality, and find the answer in minutes.
Seems pretty straightforward and "naive" to me. I understood the numbers, 10 and 20, and that's about it.

I thought there was no way to test for primes? Finding prime numbers is NP-complete, right? You just have to look for them. Or am I missing the biggest mathematical breakthrough in the last 200 years?

Seriously though, I thought you couldn't "test" for primality without just dividing by each number along the way.

Tom P.
pIp83Uns is offline


Old 03-05-2007, 10:43 PM   #17
Uplillacype

Join Date
Oct 2005
Posts
492
Senior Member
Default
Originally posted by Lul Thyme
you still havn't explained why it being harder to find the "answer" in this case make it lame.
Is google the new threshold for "lameness" for such type of ads in the future? Google does a cute, geeky ad that requires just a little bit of thought to complete (for the intended audience).

Later, EA does another geeky ad, except it's completely trivial - type that in and add printf and you have the answer. Meh. It's a copycat and a poor one. Thus, lame.
Uplillacype is offline


Old 03-05-2007, 10:49 PM   #18
GotActichwicy

Join Date
Oct 2005
Posts
436
Senior Member
Default
Originally posted by Kuciwalker


I thought prime factorization was NP-complete... hm. It's obviously in NP. Experts think it would be very surprising if it is NP complete.
GotActichwicy is offline


Old 03-05-2007, 10:59 PM   #19
Fiipolera

Join Date
Oct 2005
Posts
429
Senior Member
Default
I thought everything was in NP. The difference comes in being in P (can "prove" it quicker than "solve" it) or being NP Complete (absolutly cannot prove it without solving it completly).

So being "in NP" is not really noteworthy.

Again, I'm not a mathmetician... but I'm getting a lot out of this.

Tom P.
Fiipolera is offline


Old 03-05-2007, 11:03 PM   #20
Nppracph

Join Date
Nov 2005
Posts
356
Senior Member
Default
Originally posted by Lul Thyme
Well sure you can always find dumber ways to do almost anything.
Even YOUR naive method is really smart compared to some other methods I could describe.
I don't see how checking each number in mathematica one by one using the Prime[n] function is anything but naive. I mention it because one of my groupmates attempted exactly the implementation I described... not every language has a primality test like that built in, and not everyone knows that such a primality test exists (I only knew because I'd seen it in the Java API).
Nppracph is offline



Reply to Thread New Thread

« Previous Thread | Next Thread »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

All times are GMT +1. The time now is 12:18 PM.
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.6.0 PL2
Design & Developed by Amodity.com
Copyright© Amodity