N = N or 1000 local __v1n = N x = coroutine.wrap (function () for __v2i = 2, __v1n do coroutine.yield (__v2i) end end) while 1 do local n = x () if n == nil then break end print (n) local __v5p, __v4g = n, x x = coroutine.wrap (function () while 1 do local __v3n = __v4g () if __v3n == nil then return end if math.mod (__v3n, __v5p) ~= 0 then coroutine.yield (__v3n) end end end) end