partial_sieve_function( *x* , *n* )

The partial sieve function of *x* in SageMath. The number of positive integers less than or equal to *x* that are not divisible by the first *n* primes. Alias of legendre_phi.

Plot on the real axis:

Special values:

Related functions: legendre_phi prime_pi

Function category: miscellaneous functions sagemath-docs