Hairpin loops are uniquely determined by their closing pair (i, j). The energy of a hairpin loop is tabulated in the form