legendre_phi( 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 partial_sieve_function.
Plot on the real axis:
Related functions: partial_sieve_function prime_pi
Function category: miscellaneous functions sagemath-docs