$p_{3}\left(n\right)=1+\left\lfloor\frac{n^{2}+6n}{12}\right\rfloor.$