# Learn To Count In Seximal, A Position Above The Rest

Believe it or not, counting is not special. Quite a few animals have figured it out over the years. Tiny honeybees compare what is less and what is more, and their brains are smaller than a pinky nail. They even understand the concept of zero, which — as anyone who has had to teach a toddler knows — is rather difficult to grasp. No, counting is not special, but how we count is.

I don’t mean to toot our own horn, but humans are remarkable for having created numerous numeral systems, each specialized in their own ways. Ask almost anyone and they will at least have heard of binary. Hackaday readers are deeper into counting systems and most of us have used binary, octal, and hexadecimal, often in conjunction, but those are just the perfectly standard positional systems.

If you want to start getting weird, there’s balanced ternary and negabinary, and we still haven’t even left the positional systems. There’s a whole host of systems out there, each with their own strengths and weaknesses. I happen to think seximal is the best. To see why, we have to explore the different creations that arose throughout the ages. As long as we’ve had sheep, humans have been trying to count them, and the systems that resulted have been quite creative, if inefficient.

## The Simple Grouping System

 Symbol Value I V X L C D M 1 5 10 50 100 500 1,000

Way back when, somebody decided that tally marks just weren’t cutting it. From that frustration, the simple grouping system was born[1].

By definition, it’s simple. Pick any integer you like; call it b. Now, decide upon a symbol for the powers of b: `1, b, b²`, and so on. Then any integer can be represented as a grouping of those symbols, simply adding them together. If you have a number that’s equal to `1 + 1 + 1 + b + b + b + b²` and want to write it down, all that’s necessary is to drop the plus signs and smush the symbols together (`111bbbb²`), making addition of any two numbers in your system extremely intuitive. You could even rearrange them if you liked. `b²bbb111` represents the same number as you have to add them all together anyway.

A familiar — if somewhat irregular — example of such a system appears in the Roman numerals, which takes `b` to be 10. If you want something a bit more regular, the ancient Egyptian numerals shown below, also taking b to be 10, fit the bill quite nicely.

 Symbol Value ???? ???? ???? ???? ???? ???? ???? 1 10 100 1,000 10,000 100,000 1,000,000

Unfortunately, the drawbacks of such a system are immediately apparent. For one, to represent a big number you need a lot of symbols. Every power of `b` requires you to dig up a new one. The Romans compounded this by adding another symbol for every half of a power of 10. Another big drawback is how inefficient the use of its many symbols is. 99 would require eighteen total characters in Egyptian numerals: `????????????????????????????????????????????????????????????????????????`. In the Roman system, 99 (`XCIX`) would require four — but only if you subscribe to subtractive notation, which is a relatively modern invention. If you prefer your numerals a bit more old fashioned, 99 would be `LXXXXVIIII` for a total of ten characters. Any way you slice it, the simple grouping system simply groups too many symbols.

## Simple Grouping’s Multiplicative Brother

The multiplicative grouping system[1] does away with some of these inefficiencies. By adding symbols for every positive integer less than the base number `b`, it dodges the sheer amount needed to represent numbers like 99. To demonstrate, let’s roll our own (as the standard examples have a few too many symbols to easily photograph). Set `b` to 10 for comparison’s sake. Then `9b9` would represent 99 in our new system, shaving a character off the modern Roman system and a whole fifteen off the Egyptian one. Much like the simple grouping system, `99b` could represent the same number, but you have to multiply `b` by 9 before adding them all up.

Now we’re cooking! By sacrificing some of the intuition of addition and adding in symbols for all the integers less than `b`, the multiplicative grouping system makes physically writing numbers a bit faster. In fact, because of this, it still sees use today in Chinese numerals, also with `b` set to 10 (I’m sensing a pattern). Unfortunately, the system still suffers from the glut of symbols required to represent anything particularly large and unwieldy. Every extra power of `b` adds another symbol. Thus something like 22222 in decimal would require a full nine characters in the Chinese system, nearly double the amount required in standard decimal.

## Positions of Power

To shrink the representation of numbers a bit more, you have to remove one of the advantages of the grouping systems. In both the previous systems, you don’t really have to care where the symbols are; as long as they are grouped correctly, everything works out. However, in the positional system, we replace the powers of the base number `b` — also known as a radix in a positional system — with the position that they occupy.

For example, take the number `7b98b³` in our multiplicative system with base 10. From what we learned of multiplicative systems, `7b98b³ = 7b + 9 + 8b³ = 8b³ + 7b + 9`. If we remove the admittedly fun ability to shuffle the symbols around and fix the powers of `b` in a descending order from right to left (the reverse works just as well), only `8b³ + 7b + 9` remains, leaving something quite similar to our nifty equation in the picture when `n = 4`. Stripping away the plus signs and spaces takes us back to the multiplicative system with `8b³7b9`.

Continuing with that thought, what happens when we strip away the `b`‘s themselves? Simply popping the symbols out of place, leaving `879`, causes some confusion when considering the number `8b²7b9`, which would also reduce to `879`. To solve this problem, we strengthen our restriction. Now, any power of `b` that is not used and is less than the whole number is treated as if it were multiplied by 0, allowing the equation to come into play. `8b³7b9` is actually `8b³ + 0b² + 7b + 9`, which then condenses to `8079` after taking away everything but the integers less than `b`. `8b²7b9` comes out to `879`, strictly different from `8b³7b9`. Each integer, even the unseen 0 in `8b³7b9`, becomes the respective coefficient in the equation. As each power of `b` is fixed into a single spot and cannot move, popping them out now loses no information.

Surprisingly, this condition forces the positional system to require more characters to represent powers of `b` than any of the previous systems. Instead of just one symbol, it takes `k + 1` many, where `k` is the exponent of the power of `b` we’re trying to represent. However, by restricting the powers of `b` to a certain position and requiring that they be represented at all times, the positional system does away with many of the inefficiencies of the past. Only `b` unique symbols are needed at any time, which was the biggest disadvantage of the multiplicative system with its multitude. To write any integer requires only `n` symbols, where `n` is the exponent of the smallest power of `b` greater than the integer, neatly stepping over the truly outrageous amount of symbols the value 99 required for representation in Egyptian numerals. Additionally, the invention of the decimal point and radix point in general allows the positional system to be easily extended to negative powers of `b`, streamlining the use of fractions and greatly curbing the amount of symbols needed in the other systems.

Thus we arrive back into familiar territory. While the different numeral systems may have seemed to naturally arise out of each other, fighting over who can be the most efficient, they have co-existed at different times throughout history. Even now we have Roman numerals popping up at least every February. Each has its own strengths and weaknesses. Simple grouping systems make addition intuitive, but they’re gluttons for symbols. Multiplicative grouping systems sacrifice a bit of this intuition for a much more streamlined amount of characters per number. Positional systems remove the fun chaotic bits of the previous systems for a tiny number of symbols, requiring more characters to represent powers of `b` in the process. If you go by how much information you need to decipher any given number in a certain system, positional systems smoked the rest, requiring only the positive integers less than b and the knowledge of where to place them. Clearly with the advent of decimal and binary, positional systems have come out the winner.

While they seem easily the most consistently efficient, positional systems also have the arguable position of most creative numeral system. The amount of bases you can use is literally uncountable as real numbers can be used for a radix. Our Hackaday members like to build computers based off balanced ternary. You can even mix up the bases if you really want. However, have you ever seen the number six? I present the seximal system.

## Seximal, God’s Gift to Man

Out of the integers come the rational numbers. Out of the rational numbers come the real numbers. Out of the real numbers come the complex numbers. Thus, how we represent our integers better be spiffy. This is where seximal comes in.

Seximal, or senary as it’s officially called, is the base-6 positional system, and it blows every other system out of the water. Six is of course a special number. It’s a perfect number: a sum of its proper divisors `1 + 2 + 3`. It’s the first square-free composite number, being a product of no prime squared. It’s a superior highly composite number, meaning six has more divisors than any smaller positive integer and that this is significant even for its small size. Six is basically the bee’s knees of single digit numbers — in decimal at least.

Of course, Seximal has a lot more than just cool properties. Your seximal multiplication table has only 36 members and is thus easy to memorize. Compare to the 100 in decimal and 144 in duodecimal, and you start to see an argument for seximal through sheer laziness. Additionally, finger counting makes a lot more sense in seximal.

Counting on your hands in seximal, you can get up to 35 before you break out the toes. Sure, binary would let you get up to 1023, but you’ve got five fingers on each hand, naturally lending itself to seximal (count to five on one hand, each time you get to six that moves a digit on your other hand). As mentioned before, six has more divisors than any smaller positive integer, making division a breeze. The first prime it has any issues with is eleven. Everything else is mostly smooth sailing, as Conlang Critic mentions in his video along with dozens of other fun tidbits.

I won’t say that seximal is the most creative system out there. I won’t say that it’s the most efficient system out there. Both would be lies; however, I can guarantee that it would have kept the sheep counter awake. Every system has its purpose.

## Resources:

1. Eves, Howard Chapter 1 of An Introduction to the History of Mathematics

## 41 thoughts on “Learn To Count In Seximal, A Position Above The Rest”

1. Ostracus says:

Starts with four fingers, and a thumb.

2. Darren says:

Hackaday Editors: We need to sex things up around here.
Tucker Ervin: I can do that….

3. Ren says:

I was glad when television producers used in Roman Numerals MIM to express 1999 in their copyrights,
it may have been “wrong”, but it was easier to understand.

4. As a kid I practiced finger counting in binary and base 6 (I had a 3 mile walk home from school in 4th grade), however I found difficulty in the fact that my ring fingers don’t reliably operate separately from my pinkies. So I ended up using base 5, whose multiplication table was also easier to remember.

1. Base-2 has the most convenient multiplication table.

1. Josh says:

Well, technically base-1

5. Ren says:

A “trick” used by some delivery agents (bread, milk, chips (crisps -Jenny) )
is to count by 3’s. As the average person will count by ones or twos, they can’t easily follow the agent counting out [his] delivery. Allowing a shady agent to sometimes short their customer.

6. Ren says:

Doesn’t the Babylonian Base-60 have an advantage when calculating Pi?

1. rubypanther says:

Yes. Anybody used to using a base 60 system is going to be sufficiently pedantic to calculate pi.

2. Bob says:

I personally use base π. It makes circles really fun.

1. Tucker Ervin says:

I actually had the same problem myself. Installing the Aegyptus font seemed to fix it on my Linux machine, but your mileage may vary. Here’s what it’s supposed to look like: https://i.imgur.com/s2WtDKB.png

2. Matt says:

The Egyptian numerals show up fine for me on Windows 10.

Not for me on Win7 :-(

7. Luke says:

>”They even understand the concept of zero”

Understanding the concept of “none” and “zero” are quite a bit different.

WE didn’t understand the concept of zero until antiquity, and in some places until much later.

1. Matt says:

Yeah, I’m not sure I buy the study about the bees. I don’t think they’ve demonstrated that the bees /understand/ zero.

1. BillSF9c says:

Bees do not report poor findings. And, only count to four.
But they recognise faces. Many animals sacrifice abilities to use more of their brain for another sense. We have sacrificed some smell, hearing, and moat of our common sense, so we can learn to count in different bases to seek profit.
Thanks for the link, Tuck. My not v old Samsung would not open it, either.

1. rubypanther says:

And everybody knows, common sense without a moat is soon to be overrun by squirrels!

8. Peter Neilson says:

I use something like that with three fingers as an up-down counter for working my pony ride wheel, where we go six times around. I put my thumb against each of three fingers in succession so that I can count on my left hand. The other hand is occupied in dealing with children and ponies.
None: 0
Index: 1
Middle: 2
Ring: 3
Middle: 4
Index: 5
None: 6, we’re done.

Surprisingly, some of our ponies can count, and they try to stop the wheel at “six”. Unfortunately they tend to count this way: 1, 2, 3, 4, 6–we’re done! This is NOT the same as the mind-reading tricks performed by the famous horse Kluger Hans more than a century ago.

Over in the balanced ternary department we find the amusing “bop” notation:
b : 1
o : 0
p : -1

“bop” is thus decimal 8 and “pob” is -8. Negation is accomplished by rotation about the horizontal axis. The details and the rest of the operations are left to the mathematically hackoid among us.

1. Peter Neilson says:

oooooh! Neat! Yet ANOTHER bop. Not, the same as mine. My bop (which I learned from Dr Anthony Lewis, PhD, an MIT-certified physics hacker) is balanced ternary. Your Korean one is not.

1. Ostracus says:

The Complete Book of Fingermath: Simple, Accurate,Scientific

ISBN-13: 978-0070376809

9. Al Williams says:

I have often said that if ancient man had thought of binary we could all count to 1023 on our fingers.

1. gatorsays says:

Just be careful when you get to four. Don’t want to start a fight. :-)

10. ejonesss says:

i think hex is a better term then sex as sex can get blocked by porn filters left over from the beginning of porn filters when they looked for the word sex

1. Ren says:

And looked for the word “porn”, then it became known as “pr0n”.
B^)

2. Alan Campbell says:

Filters can be – interesting. Sometimes they remove stuff you want. Sometimes, they fail to remove stuff you DON’T want.
I was researching experiments with light.

I was annoyed when I searched for “Newton” and “Prism” at all the non-physics related stuff I found for the Apple Newton, with Prism OS.
But that’s nothing compared to the fun I had researching Thomas Young, and the double-slit experiment. “Young and “slit” were my search terms…

11. Quotes subtractive notation, then does it wrong? 99 should be written as IC. 89 is a more interesting number, should you add small left hand numbers and then subtract from the next biggest number or subtract smaller from bigger as you go along?

I think 89 should be IXC, but it could be XXCIX or XIC?

The wiki link goes against itself stating XIV as 14 and then saying “Subtractive notation reflected the counter positions on an abacus with positive and negative counters on opposite sides of a median line.”, i’d interpret that as meaning that 14 would be written IXV.. But i guess that being more flexible and using several ” median lines” in writing could be accepted, such as CMIX for 909? Compared to ICMX for the single median line version it might be easier for humans to read! At least for us decimal folks..

12. p says:

It is no coincidence that positional notation came from the same culture that gave up algebra. After all, a numeral in positional notation is nothing but a list of polynomial coefficients (ok, for numbers with fractional parts, we need to keep in mind that we are writing the numerator of a rational function, and the denominator is a monomial, but…..)

Ok, I admit it. I’m a mathhole.

1. rubypanther says:

Actually, I would find very surprising indeed in a culture that gave up algebra also promoted positional notation. What would they even use it for?!

But no. Positional notation came from India, and algebra came from Persia. Although certainly, Europe learned about positional notation via the Persians, because of geography.

13. Stephen says:

And no mention of the Central American positional notation, brought to its highest point by the Maya, where just three symbols (a dot for one, a bar for five, and a shell for zero) enabled them to represent arbitrarily high numbers.

1. rubypanther says:

The numbers that they could, and did, represent are arbitrarily high, but their system can’t actually represent arbitrary high numbers.

Their system is only used for calculating dates, and so fudges the last position in order to make years have a round number of days. There are other fudges used in those arbitrarily high numbers that are used to list imagined future dates; you need a lot more information that just what their calendar numerals are to know what one of those big numbers means. You also have to know enough about the context to apply the correct fudges.

It was this way most likely because they were not using the system in commerce. Only dates mattered, and people trained to calculate the dates would know which shortcuts to use.

1. Greenaum says:

Did they have leap years? Or did they end up losing a day every 4 years (every 3.99whatever, technically, anyone want to tell me the true number so I don’t have to bother working it out?).

How accurate were they at telling the future? Would their July 2018 have ended up in our November? Would they get the wrong days of the week for far future (to them) dates?

As for arbitrarily high numbers, you can do that in Unary, base 1. You just need a long enough stick to make the notches in. All number bases ought to be able to support any large number. All the ones I know of, at least, including weird non-integer ones, maybe there’s something based on imaginary numbers or something that can’t.

14. BillSF9c says:

Did we get to “i,” yet? Wake me when we do…
Magnetics for motors needed that, uh, number???

15. W says:

wait, what? We went through all of that just to advocate for positional counting in base 6? After all that build-up, I was expecting you to propose something other than positional counting.

Also: I □ Unicode Fonts.

1. rubypanther says:

I square unicode fonts too. From the bottom of my square.

One, two, few, lot, many… too many! Six position counting is more popular than many realize.

16. hey, thanks for the shoutout! it’s great to see people spread the word about how objectively good seximal is.

This site uses Akismet to reduce spam. Learn how your comment data is processed.