Prime seive(problem on numbers)

why is it giving runtime error.

Hey,Error is on line 10
Incrementing statement should be j=i+j