for i in {0..500..7} do temp=$[i%7] if [ $temp -eq 0 ] then echo $i fi done