Paraffins: Difference between revisions

m
added an image of a paraffins: isopentane (common name).
m (removed a pronoun ("you") from the 1st sentence in the ";Example".)
m (added an image of a paraffins: isopentane (common name).)
Line 1:
{{task}}
[[File:Paraffins.isopentane.png|450px||right]]
 
This organic chemistry task is essentially to implement a tree enumeration algorithm.
 
Line 5 ⟶ 7:
;Task:
Enumerate, without repetitions and in order of increasing size, all possible paraffin molecules (also known as [[wp:alkane|alkane]]s).
 
 
Paraffins are built up using only carbon atoms, which has four bonds, and hydrogen, which has one bond. All bonds for each atom must be used, so it is easiest to think of an alkane as linked carbon atoms forming the "backbone" structure, with adding hydrogen atoms linking the remaining unused bonds.