To determine the number of N2 molecules in a 500mL container at 780mm Hg and 135°C, the ideal gas law (PV=nRT) can be applied. The volume of gas expands with temperature and decreases with pressure, which are crucial factors in this calculation. It's important to convert the conditions to appropriate units, such as converting pressure from mm Hg to atmospheres and temperature to Kelvin. Additionally, the forum emphasizes that users should demonstrate some initial effort before receiving assistance. Properly applying these principles will lead to the solution of the homework question.