Cuban primes: Difference between revisions

Content added Content deleted
(→‎{{header|Lua}}: flagg as having incorrect output.)
Line 1,067: Line 1,067:


=={{header|Lua}}==
=={{header|Lua}}==

{{incorrect|Lua| <br> The output for the 100,000<sup>th</sup> cuban prime is incorrect. <br> (Possible integer overflow) <br><br>}}

{{trans|D}}
{{trans|D}}
<lang lua>local primes = {3, 5}
<lang lua>local primes = {3, 5}