for ((i=1;i<=3;i++))
do
  echo -n $i
done
echo ""

for i in {1,2,3}
do
  echo -n $i
done

echo ""

for i in $(seq 1 3)
do
  echo -n $i
done

123
123
123