wu :: forums (http://www.ocf.berkeley.edu/~wwu/cgi-bin/yabb/YaBB.cgi)
riddles >> medium >> Zeroes in binary expansion of sqrt(2)
(Message started by: Aryabhatta on Sep 1st, 2009, 9:19am)

Title: Zeroes in binary expansion of sqrt(2)
Post by Aryabhatta on Sep 1st, 2009, 9:19am
Consider the binary expansion of sqrt(2)

1.01101010000010011110011001100111111...

Suppose a sequence of k zeroes or more first appears at such a position such that there are ak digits after the decimal (binary?) point upto that position.

For instance a1 = 0
a4 = 7
a5 = 7

etc.

If a sequence of k zeroes or more does not appear at all (which is probably not true) define ak = k.

Show that for all k,

ak >= k-1

Title: Re: Zeroes in binary expansion of sqrt(2)
Post by Eigenray on Sep 3rd, 2009, 3:47pm
[hideb]Say http://www.ocf.berkeley.edu/~wwu/YaBBImages/symbols/surd.gif2 = r + http://www.ocf.berkeley.edu/~wwu/YaBBImages/symbols/epsilon.gif, with http://www.ocf.berkeley.edu/~wwu/YaBBImages/symbols/epsilon.gif > 0.  Letting f(x) = x2 - 2, we have
0 = f(http://www.ocf.berkeley.edu/~wwu/YaBBImages/symbols/surd.gif2) = f(r) + http://www.ocf.berkeley.edu/~wwu/YaBBImages/symbols/epsilon.gif f'(t),
for some t in [r, http://www.ocf.berkeley.edu/~wwu/YaBBImages/symbols/surd.gif2].  But then
http://www.ocf.berkeley.edu/~wwu/YaBBImages/symbols/epsilon.gif= |f(r)| / f'(t) = |f(r)|/(2t) http://www.ocf.berkeley.edu/~wwu/YaBBImages/symbols/ge.gif |f(r)|/23/2.
But if r = m/2a, with m an integer, then
|f(r)| = | r2 - 2 | = | (m2 - 22a+1 ) / 22a | http://www.ocf.berkeley.edu/~wwu/YaBBImages/symbols/ge.gif 1/22a,
so http://www.ocf.berkeley.edu/~wwu/YaBBImages/symbols/epsilon.gif http://www.ocf.berkeley.edu/~wwu/YaBBImages/symbols/ge.gif 1/22a+3/2 > 1/22a+2.
Therefore a string of (a+2) 0s cannot appear beginning a digits after the decimal point: if k http://www.ocf.berkeley.edu/~wwu/YaBBImages/symbols/ge.gif a+2, then ak > a; that is, ak http://www.ocf.berkeley.edu/~wwu/YaBBImages/symbols/ge.gif k-1.[/hideb]



Powered by YaBB 1 Gold - SP 1.4!
Forum software copyright © 2000-2004 Yet another Bulletin Board