Endofunctions
A name from the enumeratio catalogue with no kernel of its own yet; this page carries its crosswalk only.
Catalogued in the enumeratio database, with crosswalk rows in mathlib4, oeis; not yet written up here.
✓ checked against that system · ! checked, with disagreements (hover a chip)OEIS
A000312✓mathlib4Function.End (Fin n)Endofunctions(...)Catalogued in the enumeratio database, with crosswalk rows in mathlib4, oeis; not yet written up here.Typed signatures
| Type | Package | Applies |
|---|---|---|
(integer<0..>) -> indexed_collection<endofunction> | combinatorics | always |
Definition
Epsil, as the implementation runs it.
count(_n)
1 if _n == 0 else _n ^ _nunrank(_n, _r)
Map(
Function((_r - _r % _n ^ (_n - j)) / _n ^ (_n - j) % _n + 1, j),
Range(1, _n, 1),
)rank(_n, _x)
Fold(Function(acc * _n + (_x[j] - 1), acc, j), 0, Range(1, _n, 1))valid(_n, _x)
Length(_x) == _n && Fold(Function(
ok_j && 1 <= _x[j] && _x[j] <= _n + 1 - 1,
ok_j,
j,
), True, Range(1, Length(_x), 1))Maps
Into and out of Endofunction, called as CombinatorialMap(x, "Name"). Properties are the laws we state and what FindStat records.
To Endofunction
- ArcRepresentationSetPartition → EndofunctionEach position linked to the next in its block, or to itself when last.