Question: Loop for composites

I have a homework ask you to find the first string of (at least)10, 50, 100 consecutive composites. I have no idea how to use maple. HELP

all i can think of is 


>ithprime(i+1) - ithprime(i) = 10

>print(i+1, i)


and combine it with some loop

i dont know how to set up a loop

 need a lot of help 

Please Wait...