CalmoSoft primes: Difference between revisions

Algol 68 stretch - corrected comment
(Algol 68 stretch - corrected comment)
Line 80:
<br>Note, Algol 68G under Windows is fully interpreted, this took around 20 seconds on the Windows 11 system. Transpiled to VB.NET with an experimental/WIP/toy transpiler, it runs in around 2 seconds.
<syntaxhighlight lang="algol68">
BEGIN # find the longest sequence of primes < 10050 000 000 that sums to a prime #
# called Calmosoft primes #
# returns TRUE if n is prime, FALSE otherwise - uses trial division #
3,028

edits