A069515
Number of transpositions (interchanges of adjacent digits, sometimes called inversions) needed to change all n-digit base 3 numbers into nondecreasing order.
offset: 1
codomain: ℕ
Declarations
Section titled “Declarations”- A069515computable