
$0 \leq i < n-1$
