The first three terms, in ascending powers of xxx, in the expansion of (1+px)n(1 + px)^n(1+px)n are 1+18x+135x21 + 18x + 135x^21+18x+135x2
where n n\,n is a positive integer and p p\,p is a constant.
Find the values of n n\,n and ppp.