"The page-reference string has length p; n distinct page numbers occur in it." It means, p references to pages with n of them being unique. Or p-n are repetitions.
So, the lower bound on the number of page fault = n (but we have to set n<m, else we may get more page faults than 'n') and
Upper Bound should be = P (but again we've to set m=1, else we may get less page faults than P)