# strandsL(ZZ,List) -- strand span as a subset of [0,n]

## Synopsis

• Function: strandsL
• Usage:
strandsL(n,D)
• Inputs:
• n, an integer, to give the interval [0,n]
• D, a list, a sequence of integers, called a degree sequence
• Outputs:
• an integer, strand span of the subset D of [0,n]

## Description

This is one less than the number of strands of D as a subset of [0,n]. Note that some of the strands may be empty.
 i1 : n = 5 o1 = 5 i2 : D = {1,2,5} o2 = {1, 2, 5} o2 : List i3 : strandsL(n,D) o3 = 3