The unary numeral system is the simplest numeral system to represent natural numbers:[1] to represent a number N, a symbol representing 1 is repeated N times.[2]
In the unary system, the number 0 (zero) is represented by the empty string, that is, the absence of a symbol. Numbers 1, 2, 3, 4, 5, 6, ... are represented in unary as 1, 11, 111, 1111, 11111, 111111, ...[3]
Unary is a bijective numeral system. However, although it has sometimes been described as "base 1",[4] it differs in some important ways from positional notations, in which the value of a digit depends on its position within a number. For instance, the unary form of a number can be exponentially longer than its representation in other bases.[5]
The use of tally marks in counting is an application of the unary numeral system. For example, using the tally mark | (𝍷), the number 3 is represented as |||. In East Asian cultures, the number 3 is represented as 三, a character drawn with three strokes.[6] (One and two are represented similarly.) In China and Japan, the character 正, drawn with 5 strokes, is sometimes used to represent 5 as a tally.[7][8]
Unary numbers should be distinguished from repunits, which are also written as sequences of ones but have their usual decimal numerical interpretation.
^Hodges, Andrew (2009), One to Nine: The Inner Life of Numbers, Anchor Canada, p. 14, ISBN 9780385672665.
^Davis, Martin; Sigal, Ron; Weyuker, Elaine J. (1994), Computability, Complexity, and Languages: Fundamentals of Theoretical Computer Science, Computer Science and Scientific Computing (2nd ed.), Academic Press, p. 117, ISBN 9780122063824.
^Hext, Jan (1990), Programming Structures: Machines and Programs, vol. 1, Prentice Hall, p. 33, ISBN 9780724809400.
^Brian Hayes (2001), "Third Base", American Scientist, 89 (6): 490, doi:10.1511/2001.40.3268, archived from the original on 2014-01-11, retrieved 2013-07-28
^Zdanowski, Konrad (2022), "On efficiency of notations for natural numbers", Theoretical Computer Science, 915: 1–10, doi:10.1016/j.tcs.2022.02.015, MR 4410388
^Woodruff, Charles E. (1909), "The Evolution of Modern Numerals from Ancient Tally Marks", American Mathematical Monthly, 16 (8–9): 125–33, doi:10.2307/2970818, JSTOR 2970818.
^Hsieh, Hui-Kuang (1981), "Chinese Tally Mark", The American Statistician, 35 (3): 174, doi:10.2307/2683999, JSTOR 2683999
^Lunde, Ken; Miura, Daisuke (January 27, 2016), "Proposal to Encode Five Ideographic Tally Marks", Unicode Consortium(PDF), Proposal L2/16-046
and 25 Related for: Unary numeral system information
The unarynumeralsystem is the simplest numeralsystem to represent natural numbers: to represent a number N, a symbol representing 1 is repeated N times...
binary numeralsystem (used in modern computers), and the number two in the unarynumeralsystem (used in tallying scores). The number the numeral represents...
up unary in Wiktionary, the free dictionary. Unary may refer to: Unarynumeralsystem, the simplest numeralsystem to represent natural numbers Unary function...
Unary coding, or the unarynumeralsystem and also sometimes called thermometer code, is an entropy encoding that represents a natural number, n, with...
Unarysystem may refer to: UnarynumeralsystemUnary operation This disambiguation page lists articles associated with the title Unarysystem. If an internal...
the others are possible means that the decimal system is not bijective. However, the unarynumeralsystem, with only one digit, is bijective. A bijective...
also called hash marks, are a form of numeral used for counting. They can be thought of as a unarynumeralsystem. They are most useful in counting or...
(mathematics) Unarynumeralsystem (base 1) Tally marks – Numeral form used for counting Binary numeralsystem (base 2) Negative base numeralsystem (base −2)...
"unary" comes from the fact that a unary language is the encoding of a set of natural numbers in the unarynumeralsystem. Since the universe of strings over...
unarynumeralsystems are employed in tally sticks using dents and in tally marks. Egyptian hieroglyphics had a more complex non-positional numeral system...
characters. There are many different numeralsystems, that is, writing systems for expressing numbers. Numeralsystems are classified here as to whether...
needed] The simplest way to represent the natural numbers is by the unarynumeralsystem, as used in tallying. This is often referred to as "base 1", since...
deinterlacing video called mouse teeth A method of counting used with the unarynumeralsystem A technique of moving one's skis while cross-country skiing Herringbone...
tape is encoded with a unarynumeralsystem. Neary and Woods (2006) presented a different construction that replaces 2-tag systems with clockwise Turing...
Numeral or number prefixes are prefixes derived from numerals or occasionally other numbers. In English and many other languages, they are used to coin...
of stitches in consecutive rows Tally marks, a form of numeral used in a unarynumeralsystem, most useful in counting or tallying ongoing results, such...
Hamming weight operation can be interpreted as a conversion from the unarynumeralsystem to binary numbers. In implementation of some succinct data structures...
Ordinal number Particle number Subitizing and counting Tally mark Unarynumeralsystem Yan tan tethera (Counting sheep in Britain) An Introduction to the...
whole state of the system (time, free memory, etc.). Examples of unary operators in mathematics and in programming include the unary minus and plus, the...
A senary (/ˈsiːnəri, ˈsɛnəri/) numeralsystem (also known as base-6, heximal, or seximal) has six as its base. It has been adopted independently by a small...
Golomb codes (such as unary coding or Rice coding). Since 2014, data compressors have started using the asymmetric numeralsystems family of entropy coding...
or ρω) is the seventeenth letter of the Greek alphabet. In the system of Greek numerals it has a value of 100. It is derived from Phoenician letter res...
unary minus, which binds more strongly than multiplication or division. However, in some programming languages (Microsoft Excel in particular), unary...
Go, a prefix & is a unary operator denoting the address in memory of the argument, e.g. &x, &func, &a[3]. In C++ and PHP, unary prefix & before a formal...
σίγμα) is the eighteenth letter of the Greek alphabet. In the system of Greek numerals, it has a value of 200. In general mathematics, uppercase Σ is...