The Sidef programming language
More
Search
Ctrl + K
Largest prime factor
Copy
var n
=
600851475143
say gpf(n)
#=> 6857
say factor(n)
.
last
#=> 6857
Previous
Largest palindrome product
Next
Largest product in a grid
Last updated
2 years ago