Iterate over the range [ 1 , MAXL ]
for i in range ( 1 , MAXL + 1 ) : NEW_LINE INDENT N = ( i + 1 ) // 2 ; NEW_LINE v = [ 0 ] * N ; NEW_LINE for j in range ( N ) : NEW_LINE INDENT for k in range ( j , i - j ) : NEW_LINE INDENT v [ j ] += B [ k ] ; NEW_LINE DEDENT DEDENT DEDENT