Octane number is inversely related to chain length for n-alkanes and higher for branched/cyclic structures compared to straight chains.