Prove:
a) $$\left( n+1\right) ^{n}-1\equiv 0 \pmod{n^2}$$
b) $$ \left( n+2\right) ^{n+2}-2^{n+2}\left( n+1\right) ^{n+1}\equiv 0\pmod{n^2}$$
Prove:
a) $$\left( n+1\right) ^{n}-1\equiv 0 \pmod{n^2}$$
b) $$ \left( n+2\right) ^{n+2}-2^{n+2}\left( n+1\right) ^{n+1}\equiv 0\pmod{n^2}$$
I would suggest you to try to use the binomial theorem expansion which can be proved by induction, for more details about that see https://en.wikipedia.org/wiki/Binomial_theorem. At least on part a) you should get: $$ \sum_0^n \frac{n!}{(n-k)!(k!)}n^k-1 $$ which should expand to something like: $$n^n+nn^{(n-1)}+...+n^2+1-1=0\ mod \ n^2$$ Hopefully using the same Binomial expansion theorem you should get something useful for the second part.