Skip to content

Wrong order of finite matrix groups #37934

@alexander-betts

Description

@alexander-betts

Steps To Reproduce

On Sage 10.3 running in CoCalc, run

sage: GL(2,Integers(4)).order()
180
sage: GL(2,Integers(1)).order()
0

Expected Behavior

sage: GL(2,Integers(4)).order()
96
sage: GL(2,Integers(1)).order()
1

First one works in sage version 10.2, second one returns recursion error.

Actual Behavior

See above. Seems to be computing GL(2,Integers(q)).order() as (q-1)^2q(q+1).

Additional Information

Explanation of correct computation: here.

Environment

- **OS**: CoCalc
- **Sage Version**: 10.3

Checklist

  • I have searched the existing issues for a bug report that matches the one I want to file, without success.
  • I have read the documentation and troubleshoot guide

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions