local p=
function p.toString(n) local digits = local str = "" while not (n
function p.isPrime(num) local prime = true for i = 2, (num - 1), 1 do if num%i
function p.test(frame) local str = frame.args[1] return strend
function p.mersenne(frame) local n = frame.args[1] local str = "" local m = 3 for i = 2, n, 1 do if p.isPrime(m) then str = str .. p.toString(m) if not (i
"" then str = "What the heck???" end return strend
return p