What is N in the video?

Is N to be taken as the largest element of the array?(in sieve loop)

N is the length of the sieve array,which would be equal to the largest element + 1.