Deprecated: $wgMWOAuthSharedUserIDs=false is deprecated, set $wgMWOAuthSharedUserIDs=true, $wgMWOAuthSharedUserSource='local' instead [Called from MediaWiki\HookContainer\HookContainer::run in /var/www/html/w/includes/HookContainer/HookContainer.php at line 135] in /var/www/html/w/includes/Debug/MWDebug.php on line 372
On zigzag permutations and comparisons of adjacent elements - MaRDI portal

On zigzag permutations and comparisons of adjacent elements (Q1063028)

From MaRDI portal





scientific article; zbMATH DE number 3914323
Language Label Description Also known as
English
On zigzag permutations and comparisons of adjacent elements
scientific article; zbMATH DE number 3914323

    Statements

    On zigzag permutations and comparisons of adjacent elements (English)
    0 references
    0 references
    1985
    0 references
    Each permutation \((a_ 1,a_ 2,...,a_ n)\) of 1,2,...,n determines a sequence of \(''<''\) and \(''>''\) relations determined by the relations holding between adjacent values \((a_ i,a_{i+1})\). A new and elementary algorithm is given, which, for every such pattern of \(''<''\), \(''>''\) relations, computes the number of permutations with that pattern. The algorithm enables one to calculate (in bits) the amount of information gained by comparing all adjacent pairs of elements in a list. It also has a simple extension to circular patterns of relations.
    0 references
    comparison
    0 references
    permutation
    0 references
    algorithm
    0 references

    Identifiers