Re: Anyone want to work for Google?

From: Phil Carmody (thefatphil_demunged_at_yahoo.co.uk)
Date: 07/12/04


Date: 12 Jul 2004 16:52:44 +0300

Robin Chapman <rjc@ivorynospamtower.freeserve.co.uk> writes:
> > Upon making it to the second level of questioning, that is if you are
> > able to, you are hit up with this question as seen on 7427466391.com:
> >
> > f(1)= 7182818284
>
> digits 1-10 of the decimal expansion of exp(1)

You zero-counter you!

I'd say the first digit of the decimal expansion e was '2'
So that 7 is the 2nd digit.
 
> > f(2)= 8182845904
>
> digits 5-14 of the decimal expansion of exp(1)

6

> > f(3)= 8747135266
>
> digits 23-32 of the decimal expansion of exp(1)

24

Ooh, ooh, factorial?
 
> > f(4)= 7427466391
>
> digits 99-108 of the decimal expansion of exp(1)

100

bugger.
 
> > f(5)= __________
>
> some early length-10 block of digits in the decimal
> expansion of exp(1)?

I thought this was tempting:
1 | index(f(1))
2 | index(f(2))
3 | index(f(3))
4 | index(f(4))

Alas, it's useless, and doesn't hold true again until f(10) at index 430,
f(32) at 1120, and f(43) at 1419.

Phil

-- 
1st bug in MS win2k source code found after 20 minutes: scanline.cpp
2nd and 3rd bug found after 10 more minutes: gethost.c
Both non-exploitable. (The 2nd/3rd ones might be, depending on the CRTL)


Relevant Pages

  • Re: .9 repeating
    ... denote the decimal expansion of x. ... map interpreting digit strings as elements of R'. ... interpretation of decimal notations. ...
    (sci.math)
  • Re: Newbie Question
    ... signed) won't be enough to store all values of the PIC 9. ... If you spot a bug in the COBOL code, make a note of it, but replicate that bug in your VB code as well. ... I think the following pair of 16 digit numbers have the same represensation in IEEE 64 bit double: ... DIM var1, var2 AS DOUBLE ...
    (comp.lang.cobol)
  • Re: Earliest example of an incomputable real
    ... >> generating the decimal expansion, so some other method is needed ... >Of course it proves an effective procedure. ... >Turing machine that outputs a decimal expansion of x correct to n ... Then the k'th digit can be extracted ...
    (sci.math)
  • Penroses Computing Pi Description?
    ... of a Turing machine can, strictly speaking, be an infinite ... I realize that computing infinity does not come to ... If we wish to generate an infinite decimal expansion, ... then the second decimal digit, 4, by making it act ...
    (sci.logic)
  • Re: Arbitrary strings of digits in the decimal display of Pi
    ... Let Fdenote the number of positive integers less than n that do not ... contain digit 5 in their decimal expansion. ... contain digit 5 in their decimal expansions converge? ... What is the sum of the reciprocals of all p-smooth positive integers? ...
    (sci.math.symbolic)