next | previous | forward | backward | up | top | index | toc | Macaulay2 web site
GlicciPointsInP3 :: numOfIrreducible

numOfIrreducible -- the number of irreducible polynomials

Synopsis

Description

i1 : q=symbol q;Q=QQ[q]

o2 = Q

o2 : PolynomialRing
i3 : numOfIrreducible(6,Q)

     1 6   1 3   1 2   1
o3 = -q  - -q  - -q  + -q
     6     6     6     6

o3 : Q
i4 : numOfIrreducible(2,2)

o4 = 1

Ways to use numOfIrreducible :

  • numOfIrreducible(ZZ,PolynomialRing)
  • numOfIrreducible(ZZ,ZZ)