What does nary mean?
Nary is a specialized mathematical adjective for something that has a number of parts or arguments represented by the variable n. It is most often used with words such as operation, relation, and tree. An nary operation accepts n inputs—for example, a three-input addition is a ternary operation—while an nary tree allows each internal node to have up to n children. The term is usually written with a hyphen as n-ary and is especially associated with algebra, logic, computer science, and data structures. It is not normally used in general conversation, but it provides concise terminology for describing systems whose size can vary. The formation combines n with the adjective-forming suffix -ary and belongs to a numerical naming pattern also seen in unary, binary, ternary, and quaternary. Understanding nary therefore requires recognizing n as a general positive integer rather than a particular numerical value.
adjectiveDenoting a mathematical operation, relation, structure, or other object involving n elements, positions, or arguments, where n is a positive integer. It is usually written with a hyphen as n-ary.
- Denoting a mathematical operation, relation, structure, or other object involving n elements, positions, arguments, or branches, where n is a positive integer.
"The algebra generalizes binary addition into an nary operation with any number of inputs."
"The expression defines an nary operation that accepts three inputs."
"Each internal node in an nary tree may have as many as n children."
Nary means “however many parts or arguments there are”: the numeral remains a variable n.
Reviewed by Deb Chak, Editor. AI-assisted content curated by RJS Tech Solutions LLP.
Where does nary come from?
Nary is formed from n, a symbol representing an unspecified number, and the adjective-forming suffix -ary. It is a mathematical formation patterned on terms such as unary, binary, ternary, and quaternary, although it does not share an individual lexical root with any one of them. The terminology is used when the number of arguments, positions, or branches is represented as a variable rather than stated explicitly.
How nary is actually used
This is specialized mathematical terminology and is rarely used in general conversation. The standard written form is usually hyphenated, n-ary, particularly when placed before a noun.