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
-
Return a list sorted by number of occurrences
2899 Solvers
-
Create a cell array out of a struct
2575 Solvers
-
Create a square matrix of multiples
502 Solvers
-
Rotate input square matrix 90 degrees CCW without rot90
697 Solvers
-
Self-similarity 1 - Every other term
73 Solvers
More from this Author328
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!