Look at the general molecular formula for alkanes.