Consider an n-ary (polyadic) group, which is a generalization of the "usual" ("binary") groups to n-tuples. The definition requires appropriate standard generalizations of associativity and existence of inverse. Can this (or has this?) been generalized to arbitrary tuples? In other words, can the number of factors in the product be made arbitrary (but finite)? What "mathematical object" would this be? Does it have to be induced by some n-ary group or are there examples that are not?
( A useful classical paper with the relevant definitions is Polyadic Groups by Emil Leon Post from 1935: https://www.ams.org/journals/tran/1940-048-02/S0002-9947-1940-0002894-7/S0002-9947-1940-0002894-7.pdf )