For loop in older version of ksh

When I am trying to use below code of for loop on older version of ksh

it not working,and I just want to use only FOR loop
-----------------

for i in (1..5)
do
  echo $i
done

-----------------
please suggest.it really stoping me.

FYI: i want to do this only by for loop

Try

for i in `seq 1 5`
do
   echo "$i"
done

If you don't have "seq" and can't use "while":

for i in 1 2 3 4 5
do
        echo $i
done