Ruth-Aaron numbers: Difference between revisions

Content added Content deleted
No edit summary
Line 295: Line 295:


{These routines would normally be in a library, but are shown here for clarity}
{These routines would normally be in a library, but are shown here for clarity}

function IsPrime(N: int64): boolean;
function IsPrime(N: int64): boolean;
{Fast, optimised prime test}
{Fast, optimised prime test}
Line 314: Line 315:
end;
end;
end;
end;








Line 434: Line 431:


</pre>
</pre>



=={{header|Factor}}==
=={{header|Factor}}==