function is_prime(n) ⏎ if n <= 1 then return false end for i = 2, math.sqrt(n) do if n % i == 0 then return false end end return true end