Look at your formula: p=PM/RT.
- M (Molar Mass) is a constant. The gas is not changing.
- R (Ideal Gas Constant) is a universal constant.
- Therefore, the density p is controlled entirely by the ratio of Pressure (P) to Temperature (T).
To increase density p, the ratio P/T must increase.