Find the determinant of the nbyn matrix of p as its diagonal entries and 1 else where.
I tried to solve the problem via two methods, to no avail. First was reducing the matrix by elementary row operations to an 'almost diagonal matrix looking a bit like the jordan form but the first row cant be eliminated posing aproblem.
second I tried to use the definition of determinant by p^x by choosing x number of p from n, then finding how many ways are there to permute the rest of the ones, but I cant find a way to resolve the signs.