Let p be a prime. A base p expansion of an integer k is an expression
k=k0+p⋅k1+p2⋅k2+⋯+pℓ⋅kℓ
for some natural number ℓ, with 0⩽ki<p for i=0,1,…,ℓ.
(i) Show that the sequence of coefficients k0,k1,k2,…,kℓ appearing in a base p expansion of k is unique, up to extending the sequence by zeroes.
(ii) Show that
(pj)≡0(modp),0<j<p
and hence, by considering the polynomial (1+x)p or otherwise, deduce that
(pij)≡0(modp),0<j<pi
(iii) If n0+p⋅n1+p2⋅n2+⋯+pℓ⋅nℓ is a base p expansion of n, then, by considering the polynomial (1+x)n or otherwise, show that
(nk)≡(n0k0)(n1k1)⋯(nℓkℓ)(modp)