The Sidef programming language
Search...
Ctrl + K
Programming tasks
L
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