|
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: , , for at most , , and , where , and 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 for which the number of groups of order cannot be computed is .
|
•
|
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 .)
|
•
|
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 . This is computed by counting the number of isomorphism classes of order equal to the -part of , for each prime divisor of , and also using the fact that the number of Abelian groups of prime power order is equal to the number of partitions of (independent of the prime ). Thus, the ability to compute NumAbelianGroups( n ) is dependent only upon the ability to factor the integer and to compute the number of partitions of the integer powers that appear in the factorization.
|
|
|
Examples
|
|
>
|
|
The number of groups of the first few small orders:
| (1) |
To count the number of groups whose order lies in a range, use add as follows.
For a larger number of (small) values it becomes useful to visualize the behavior of this function using a plot.
>
|
|
The numbers of groups of prime power order grows very quickly.
>
|
|
| (3) |
>
|
|
| (5) |
For primes larger than , Maple can compute the number of groups of order for .
>
|
|
| (6) |
>
|
|
| (7) |
>
|
|
>
|
|
>
|
|
| (15) |
>
|
|
| (20) |
How many abelian groups have the same order as the Monster simple group?
>
|
|
|
|
Compatibility
|
|
•
|
The GroupTheory[NumGroups] command was introduced in Maple 17.
|
•
|
The GroupTheory[NumAbelianGroups] command was introduced in Maple 2018.
|
•
|
The n parameter was updated in Maple 2021.
|
•
|
The GroupTheory[NumGroups] command was updated in Maple 2024.
|
|
|
|