How to identify the lowest number NOT found on Google.

Over in this thread we have had a little fun looking for the lowest number NOT found on Google. We haven’t found a new low now for a couple days, but that doesn’t mean we have reached the bottom. If anyone else wants to join the search, please do.

But this thread is about how best to go about identifying the absolutely truly lowest number that returns zero/no hits (do read the “rules” about what is allowed :slight_smile: ). Are there algorithms? Strategies? Tricks for more effective searches? One of the sites in the other thread’s OP mentions using a “script” of some sort to speed things up; anyone know how to write one?

Anyway, anyone have any ideas?

Here was my first attempt: bonequest (probably only works in IE, by the way)

This has the downside that cross-frame scripting cannot access the content in frames from other domains to see if they contain a particular string (e.g. “did not match any documents”), so you’re required to sit there and watch it. Also, it doesn’t know when the page has fully loaded, so you have to tune the amount of time between queries so you can be sure to see the results.

The other approach I used was to write a unix shell script. Here is the code:



#!/bin/sh

num=10000000
if [ "$1" != "" ]
then
        num=$1
fi

echo starting at $num

while true
do
        url='http://www.google.com/search?hl=en&ie=UTF-8&q='$num
        lynx -source $url > /tmp/googlenumberstmp

        grep 'did not match any documents' /tmp/googlenumberstmp > /dev/null
        if [ "$?" == "0" ]
        then
                echo nothing found: $num
                exit 1;
        else
                echo checked: $num
        fi
        num=$((num + 1))
done


You specify the number to start at and it increases the number until it finds one that returns no results. With my connection, it’s testing about two numbers per second, and I started it at 10,000,000. So I’ll let you know when it hits. :slight_smile:

Start with a number that’s not found on Google, and count down.

Seems more definitive to start at the bottom and count up…

I think you may find one in the 11,04w,xyz range :wink:

It’s not more definitive, but it would be faster.

Counting down from a known number is only definitive if you count all the way down, in which case I don’t see how it could possibly be considered a better method in any way. You’re more likely to get “hits” sooner, I’d guess, but you can’t know whether these are the definitive hits until you get all the way through. Counting up, you know as soon as you hit the number.

Anything that’s guaranteed to return the correct answer is definitive. I never said “stop as soon as you get a hit”.

Google’s advanced search page allows you to search for pages containing numbers within a given range. For example, you can ask it to return all pages which contain any number between 5 and 15. I think that you might be able to use this somehow to at least narrow down your search.

Ok, so what’s your rationale for saying I should start with a known hit and count down?

That’s pronounced eleventywizziwig, right? :smiley:

ntucker, fabulous work!

davidm, I have tried the Google number range thing but I couldn’t figure out how to make it help any. Do you have any ideas I can try?

Colophon, can you clue me in on the significance of 11,04w,xyz? I don’t want to be the last one to know. :slight_smile:

I’d appreciate it if everyone would read post # 2. My keybord must have misfired; don’t ask me how!

Well, at 2pm yesterday, there were no hits for 11046726 (I still have the results page saved), but now there are. It’s hard to “win” at a game with such fleeting results…

ntucker, were you counting up or down from any particular number when you found that one?

And I still don’t understand the significance of 11,04w,xyz. Anyone?

I started a second copy of my script at 11040000 to reach that, specifically because of Colophon’s comment.

And for what it’s worth, my script has been running for almost 48 hours now after starting at 10,000,000, and it still hasn’t gotten a hit. It’s up to 10326600 now, which makes my estimate of “two per second” pretty darn close for a guess (it’s about 1.89 per second). :slight_smile:

…which also means that it would take me 68 days to get up to the 1104xxxx range if I started at 0. It takes about 6 days to do a million queries.

ntucker, did you ever find anything?

Not that I expect you to be looking the rest of your life, or anything :slight_smile: .

I have a hit for 11046726!

It’s on a message board run by a newspaper… :confused:

And now I have another hit for this random number.
What is going on? :eek: