Skip to content

Steenrod algebras report additive order of 0 is p #5061

@boothby

Description

@boothby

This is wrong:

sage: S2 = SteenrodAlgebra(2)
sage: z = S2(0)
sage: z.additive_order()
2

looking at the code, it's easy to see why this happens...

    def additive_order(self):
        """
        The additive order of any element of the mod p Steenrod algebra is p.

        OUTPUT:
            order -- positive prime number

        EXAMPLES:
            sage: z = Sq(4) + Sq(6) + Sq(0)
            sage: z.additive_order()
            2
        """
        return self._prime

Component: algebra

Issue created by migration from https://trac.sagemath.org/ticket/5061

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions