N-ary associativity


In algebra, n-ary associativity is a generalization of the associative law to n-ary operations. Ternary associativity is
i.e. the string abcde with any three adjacent elements bracketed. n-ary associativity is a string of length n + with any n adjacent elements bracketed.