Definition 2.2.8 (beta indexing). The function β:2 is defined by β(x,i)=a%(m(i+1)+1), where a and m are the unique numbers such that x=a,m.