What is the general formula for alkenes?

The general formula for alkenes is CₙH₂ₙ.