Selecting files in regular intervals from a folder

Hi,

I need your expertise in selecting files from a folder.

I have files named with convention: filename.i.j
where j is an interger from 1 to 16, for each i which is an integer from 1 to 2000.

I would like to select the files with i in regular interval of 50 like
filename.1.j, filename.50.j, filename.100.j,...

How to write a script to select files in regular intervals and copy them in other directory?

Thanks,
rpd: wall:

seq is not in my machine .. hence try with the below ..

i=0
while [ $i -le 2000 ]
do
        [ $i -eq 0 ] && i=1
        echo "cp filename.$i.j /path/to/copy" | sh
        [ $i -eq 1 ] && i=0
        i=$((i+50))
done
 
echo "" |nawk '{for(i=0;i<=2000;i=i+50){printf("%s\n",i==0?1:i)}}' |while read i
do
 cp filename.$i.* /path/to/new/folder/
done