numtheory(deprecated)/pi - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

Home : Support : Online Help : numtheory(deprecated)/pi

numtheory(deprecated)

  

pi

  

number of primes less than or equal to

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

pi(n)

Parameters

n

-

expression, assumed to be of type integer

Description

• 

Important: The numtheory package has been deprecated.  Use the superseding command NumberTheory[PrimeCounting] instead.

• 

The function pi(n) computes the number of prime numbers less than or equal to the given integer n.

Examples

Important: The numtheory package has been deprecated.  Use the superseding command NumberTheory[PrimeCounting] instead.

(1)

(2)

(3)

(4)

(5)

(6)

(7)

See Also

isprime

ithprime

Li

NumberTheory[PrimeCounting]

Pi

type[prime]

 


Download Help Document