Hydrocarbon prefixes
Prefixes for simple hydrocarbons are determined by the number of carbon atoms in the longest carbon chain. See here for a list of prefixes. Figure 1 shows the general principle of assigning prefixes regardless of the type of bonds involved in the compound.
Figure 1. Role of the prefixes in names of hydrocarbons.