6 Sep
2014
6 Sep
'14
6:34 a.m.
On 9/6/14, Bill Gosper <billgosper@gmail.com> wrote: << ... Another e.g.: The leading hex digits of Thue-Morse (HAKMEM's "parity constant"): (1/2)*(2 - Product[1 - 2^(-2^k), {k, 0, Infinity}]) In[31]:= %/2 /.∞-> 6 Out[31]= 280701669626288379716180548005699333331/ 680564733841876926926749214863536422912 In[32]:= RealDigits[%, 16] Out[32]= {{6, 9, 9, 6, 9, 6, 6, 9, 9, 6, 6, 9, 6, 9, 9, 6, 9, 6, 6, 9, 6, 9, 9, 6, 6, 9, 9, 6, 9, 6, 6, 9, 8}, 0} ... >> That isn't the Thue-Morse sequence! For a start, it contains both consecutive 0's and consecutive 1's ... WFL