Good catch on the molar dependance, hadn't looked at that. The excercise I was looking at says \mu (P,T,n) . I have some doubts on that being on purpose, but anyway...
------------------
Then I have
G = n c_v T + U_0 - T \left (S_0 + n c_v ln (T) + nR ln \left ( \frac{RT}{P} \right ) \right...