Parallel calculations: Difference between revisions
Content added Content deleted
mNo edit summary |
|||
Line 1,047: | Line 1,047: | ||
answer = maximum(keys(mins)) |
answer = maximum(keys(mins)) |
||
println("The number that has the largest minimum prime factor is $(mins[answer]), with a smallest factor of $answer") |
println("The number that has the largest minimum prime factor is $(mins[answer]), with a smallest factor of $answer") |
||
</lang> |
|||
{{out}} |
{{out}} |
||
<pre> |
|||
The number that has the largest minimum prime factor is 98421229882942378967, with a smallest factor of 736717 |
The number that has the largest minimum prime factor is 98421229882942378967, with a smallest factor of 736717 |
||
</ |
</pre> |
||
=={{header|Mathematica}}== |
=={{header|Mathematica}}== |