nprimes(n) returns the number of pseudo-primes (or primes) less than or equal to n. Input:
Output:
Input: