Write a function to find the nth term of a sequence of prime numbers p such that
, where
is the prime counting function. The first three numbers in this sequence are 2, 11, and 37. For example, the second number is 11 because five primes are less than or equal to 11 (i.e.,
) and 11 >
.
Solution Stats
Problem Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers15
Suggested Problems
-
How to find the position of an element in a vector without using the find function
2815 Solvers
-
360 Solvers
-
592 Solvers
-
Find Index of maximum Value and maximum Value of a vector
168 Solvers
-
Detect a number and replace with two NaN's
200 Solvers
More from this Author323
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!