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 Thue-Morse Sequence<br />

0 1 10 11 100 101 110 111 1000 1001 1010 1011 1100 1101 . . .<br />

0 1 1 0 1 0 0 1 1 0 0 1 0 1 . . .<br />

The Thue-Morse sequence<br />

(sh)h≥0 := 0110100110 0101101001 0110011010 0110 . . . ,<br />

lays compelling claim to being the simplest nontrivial (non-periodic)<br />

sequence. It is generated by the rule that sh ≡: s2(h) (mod 2).<br />

Here, sp(h) denotes the sum of the digits of h written in base p. The<br />

function sp(h) crops up in real life in the following way: It is a cute<br />

exercise to confirm that the precise power, ordp h!, to which a prime p<br />

divides h! is ordp h! = ` h − sp(h) ´ /(p − 1) .<br />

More, suppose a + b = c in nonnegative integers a, b, <strong>and</strong> c . Then<br />

s2(a) + s2(b) − s2(c) is both the number<br />

´<br />

of carries required when<br />

adding a to b in binary; <strong>and</strong> is ord2 .<br />

` a+b<br />

a<br />

12

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

Saved successfully!

Ooh no, something went wrong!