NumAbelianGroups - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Mathematics : Group Theory : NumAbelianGroups

GroupTheory

  

NumGroups

  

attempt to determine the number of groups of a given order

  

NumAbelianGroups

  

return the number of Abelian groups of a given order

 

Calling Sequence

Parameters

Description

Examples

Compatibility

Calling Sequence

NumGroups( n )

NumAbelianGroups( n )

Parameters

n

-

a positive integer, a range of positive integers, or the string "unknown"

Description

• 

The NumGroups( n ) command attempts to determine the number of groups of order n, and returns that number.  If it cannot determine the number of groups of order n, then the value FAIL is returned.

• 

For small values of n, the number of groups of order n is stored in a table, and the number of stored values is at least as large as the number of groups in the Small Groups Database.  Therefore, this command can be used to determine the number of groups of a given order available in the database of small groups.

• 

For values of n for which the number of groups of order n is not stored, it is necessary that Maple can factor n.

• 

For values of n too large to be stored, a variety of formulae are used for values of n which are "arithmetically small".

• 

The NumGroups command can compute the number of groups of order n, for n factorable and having one of the following forms: pk, pkq, for k at most 5, p2q2, and p2qr, where p, q and r denote distinct primes. The number of groups of (factorable) square-free order can also be computed.

• 

If n can be factored, and if the number of groups of order n is no more than three, then NumGroups( n ) will return that value.

• 

In the current implementation, the smallest value of n for which the number of groups of order n cannot be computed is n=2048.

• 

The special argument "unknown" (a string) may be passed to determine the values in the table of small orders for which the number of groups is not currently known.  An expression sequence of those values of n in the table of stored values for which the command NumGroups( n ) will return FAIL is returned. (The table currently stores values for most orders less than 50000.)

• 

If n is a range of positive integers, then the NumGroups( n ) command returns a sequence of the values over that range.

• 

The NumAbelianGroups( n ) command returns the number of Abelian groups of order n. This is computed by counting the number of isomorphism classes of order equal to the p-part of n, for each prime divisor p of n, and also using the fact that the number of Abelian groups of prime power order pk is equal to the number of partitions of k (independent of the prime p). Thus, the ability to compute NumAbelianGroups( n ) is dependent only upon the ability to factor the integer n and to compute the number of partitions of the integer powers that appear in the factorization.

Examples

withGroupTheory:

The number of groups of the first few small orders:

NumGroups1..30

1,1,1,2,1,2,1,5,2,2,1,5,1,2,1,14,1,5,1,5,2,2,1,15,2,2,5,4,1,4

(1)

To count the number of groups whose order lies in a range, use add as follows.

addNumGroups25..40

107

(2)

For a larger number of (small) values it becomes useful to visualize the behavior of this function using a plot.

plots:-displayArrayStatistics:-ColumnGraphseqn=NumAbelianGroupsn,n=1..50,Statistics:-ColumnGraphseqn=NumGroupsn,n=1..50

The numbers of groups of prime power order grows very quickly.

seqNumGroups2k,k=0..10

1,1,2,5,14,51,267,2328,56092,10494213,49487367289

(3)

NumGroups211

FAIL

(4)

seqNumGroups3k,k=0..9

1,1,2,5,15,67,504,9310,1396077,5937876645

(5)

For primes p larger than 3, Maple can compute the number of groups of order pk for k7.

seqNumGroups5k,k=0..7

1,1,2,5,15,77,684,34297

(6)

seqNumGroups7k,k=0..7

1,1,2,5,15,83,860,113147

(7)

NumGroups2304

15756130

(8)

NumGroups614889782588491410

188018688

(9)

NumGroups81513

13

(10)

NumGroups483153

119

(11)

NumGroups53091

2

(12)

NumGroups15358747619

3

(13)

NumGroups3307506804820056766681499608504868704139327366278298467987

1

(14)

NumGroupsmulithprimei,i=100..1000

2771340269884594676814901910875675152096737295781236722237205017714262355882880999306035200000000

(15)

NumAbelianGroups1

1

(16)

NumAbelianGroups4

2

(17)

NumAbelianGroups419904

242

(18)

NumAbelianGroups12

2

(19)

NumAbelianGroups10300

85619543833885478733834543854404

(20)

How many abelian groups have the same order as the Monster simple group?

NumAbelianGroupsGroupOrderMonster

131046034680

(21)

Compatibility

• 

The GroupTheory[NumGroups] command was introduced in Maple 17.

• 

For more information on Maple 17 changes, see Updates in Maple 17.

• 

The GroupTheory[NumAbelianGroups] command was introduced in Maple 2018.

• 

For more information on Maple 2018 changes, see Updates in Maple 2018.

• 

The n parameter was updated in Maple 2021.

• 

The GroupTheory[NumGroups] command was updated in Maple 2024.

See Also

GroupTheory[AllSmallGroups]

GroupTheory[SmallGroup]