Preparation of hydrocarbons from hydrocarbons containing a larger number of carbon atoms