problem3
finds the largest prime factor of given number
problem3(value)
value | A integer. |
---|
A number
https://projecteuler.net/problem=3 for more info about it.
problem3(1)#> Warning: no non-missing arguments to max; returning -Inf#> [1] -Infproblem3(100)#> [1] 5problem3(13195)#> [1] 29