Suppose we want to code a sequence of numbers that are all less than 1000. One easy way to do it, is to write numbers in base 1000 notation, and just use the sequence. Thus, if we want to code a sequence of numbers all less than 9, we can do it this way: 21173758 (no initial 0s).

That almost works, but how do we tell which is the $n$th number in the sequence? We have to count off members of the sequence, which itself seems to require using a sequence, which we don't yet have.

The way we'll solve this problem is to use 1221314753677588 instead of just 21173758, putting the numbering into the sequence.

So to code a sequence of length at most $n$ of numbers that are at most $n$, we can do it using a number thought of as written in base $n$.

To work base 10, we would be interested in powers of 10, and so we'd need a way to say that a number is a power of 10. Even that isn't so easy. But, it is easy for powers of a prime number $p$: A number is a power of $p$ if and only if it and all of its divisors except 1 are divisible by $p$. So, we only work with numbers base $p$ for prime $p$.

Given any sequence of numbers at most $n$ of length at most $n$ we find two numbers: a prime $p$ bigger than $n$ and the number $t$ that codes the seqence as indicated above, in numbers written base $p$. We then need a function $\beta (t,p,i)$ which is definable in the language of arithmetic and whose value is the $i$th member of the sequence coded by $t$ base $p$. That is Gödel's beta function, and it is what we will spend the next class writing out in some detail.

p. 177

$\beta$ -Function Lemma. There is a function $\beta:\Bbb{N}^{3}\longrightarrow\Bbb{N}$ with the following properties: %RENDERLIST{"empty"}%

\[\mathcal{N}\models\phi_{\beta}(t,p,i,a){\text{ if and only if }}\beta (t,p,i)=a.\]

Proof: Let $p$ be a prime number bigger than $a_{0},\dots a_{r},r+1$. Let $t$ be

\[1 p^{0}+a_{0} p^{1}+2p^{2}+a_{1}p^{3}+\cdots(i+1)p^{2i}+a_{i}p^{2i+1}+\cdots (r+1)p^{2r}+a_{r}p^{2r+1}.\]

$a=a_{i}$ if and only if there are $b_{0},b_{1},b_{2}$ such that %RENDERLIST{"empty"}%

$\square$

-- ProfessorShaughanLavine? - 30 Mar 2005