14.08.2013 Views

Paperfolding, Automata, and Rational Functions - Diagonals and ...

Paperfolding, Automata, and Rational Functions - Diagonals and ...

Paperfolding, Automata, and Rational Functions - Diagonals and ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

The Shapiro Sequence<br />

Consider, the Shapiro sequence (rh), which counts mod 2 the number<br />

of occurrences of the pair 11 of digits in the binary expansion of h.<br />

0001001000 0111010001 0010111000 1000010010 0001110111 . . .<br />

0 1 0 2 0 1 3 1 0 1 0 2 3 2 0 2 0 1 0 2 0 1 3 1 3 . . .<br />

0001001000 0111010001 0010111000 1000010010 0001110111 . . .<br />

So, the Shapiro sequence is<br />

generated by the automaton defined by the transition table given by θ<br />

<strong>and</strong> with output map s0 <strong>and</strong> s1 ← 0, <strong>and</strong> s2 <strong>and</strong> s3 ← 1. Remarkably<br />

n−1<br />

max<br />

0≤θ≤1 |<br />

X<br />

(−1) r √ √<br />

h ihθ<br />

e | ≤ (2 + 2) n .<br />

h=0<br />

16

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!