ret = {} function ret.main(frame) s = "\\varnothing" for i = 1, frame.args[1] do s = s .. ",\\{" .. s .. "\\}" end return "\\{" .. s .. "\\}" end return ret