Skip to content

Wrong contains in Permutations avoiding a pattern #26809

@mantepse

Description

@mantepse
sage: P = Permutations(3, avoiding=[[1,3,2]])
sage: P.list()
[[1, 2, 3], [3, 1, 2], [2, 1, 3], [2, 3, 1], [3, 2, 1]]
sage: [1,3,2] in P
True

Component: combinatorics

Author: Martin Rubey

Branch/Commit: 6bf62d9

Reviewer: Daniel Krenn, Travis Scrimshaw

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions