Please how do I compute an algorithm to compute the sum of n integers starting with the K^th integer.

Thanks

A:=0

For i = k to n

Do

Begin

A:= A + i

End