fastfunc isprim num .
   i = 2
   while i <= sqrt num
      if num mod i = 0
         return 0
      .
      i += 1
   .
   return 1
.
p = 3
i = 2
write "2 3 "
while p + i < 1050
   if isprim (p + i) = 1
      p += i
      write p & " "
   .
   i += 2
.
