problem7 finds the nth prime
problem7(limit)
| limit | Limit to run the interval |
|---|
The expected value
This function has the following complexity O(n$^ 3 2 $)
https://projecteuler.net/problem=7 for more info about it
problem7(13)#> [1] 41problem7(50)#> [1] 229problem7(100)#> [1] 541