Instructions
This problem set is due on Friday November 1, 2019 at 23:59. Solutions to Problems should be submitted on Gradescope and will be graded. Solutions to Exercises will not be graded and you should not submit them, although we will be happy to discuss them with you.
Problems
- Prove that if $p$ is prime, then $a^p = a \pmod p$ for all $a \in \mathbb Z$.
- Solve the congruence $x^{13} + 7x + 5 = 0 \pmod{91}$.
- Find an expression for $\sum_{i=0}^n i \cdot i!$ and prove that it is correct.
- Let $f_n$ denote the $n$th Fibonacci number. Prove that for all $n \geq 1$, $\gcd(f_n, f_{n-1}) = 1$.
- The Fibonacci words over the alphabet $\{0,1\}$ are defined recursively by
- $F_0 = 0$,
- $F_1 = 01$,
- $F_n = F_{n-1} F_{n-2}$ for $n \geq 2$.
For example, the first few Fibonacci words are
\begin{align*}
F_0 &= 0 \\
F_1 &= 01 \\
F_2 &= 010 \\
F_3 &= 01001 \\
F_4 &= 01001010 \\
F_5 &= 0100101001001 \\
F_6 &= 010010100100101001010
\end{align*}
Prove that for all $n \in \mathbb N$, $F_n$ does not contain the substring $11$.
Exercises
- Rosen 5.1, Exercises 5-8
- Rosen 5.1, Exercises 20-21
- Rosen 5.1, Exercises 35-37
- Rosen 5.2, Exercises 7,9
- Rosen 5.2, Exercises 42
- Rosen 5.3, Exercises 14-16
- Rosen 5.3, Exercises 35, 36
- Rosen 5.3, Exercises 41, 42
- Let $F_n$ denote the $n$th Fibonacci word and let $f_n$ denote the $n$th Fibonacci number.
- Show that for all $n \in \mathbb N$, the number of $1$s in $F_n$ is $f_{n}$.
- Show that for all $n \in \mathbb N$, the number of $0$s in $F_n$ is $f_{n+1}$.
- Show that for all $n \in \mathbb N$, $|F_n| = f_{n+2}$.
- Show that for all $n \in \mathbb N$, $F_n$ does not contain the substring $000$.