For a homologous series of hydrocarbons like alkanes, the boiling point generally increases with increasing molecular weight, which corresponds to an increasing number of carbon atoms. This is because larger molecules have stronger van der Waals forces (London dispersion forces), requiring more energy (higher temperature) to overcome them and transition from liquid to gas phase.