consecutive subset (i+1)*(N-i)
consecutive subset (i+1)*(N-i)