Problem: Derangements

Code: Derangements/tails_1645189937

Nibbles version: 0.2 | 0.21 | 0.22 | 0.23 | 0.24 | 0.25 | 1.00

Format: Compact | Simple | +Type | Table | JSON | .nbl (DeBruijn) | .nbl (names)


Note: This code seems to be written in Nibbles version >= 0.21 and < 1.00

(implicit map) 
    (implicit map) 
        | (filter) 
            ^ (replicate) 
                1 (integer) 
                , (range from 1) 
                    6 (integer) 
            - (subtract) <--arg( A ) 
                ~ (auto = 1) 
                `/ (divmod) -->let( B ) 
                    $ (= A) 
                    6 (integer) 
        `, (range from 0) <--arg( D C ) 
            $ (= D) 
    ~ (tuple) <--arg( F E ) 
        (implicit arg = F) 
        (implicit arg = F) 

Back to the index