# Speaking of counting methods ...

**URL:** <https://boards.straightdope.com/t/speaking-of-counting-methods/159791>\
**Category:** Factual Questions\
**Created:** [March 7, 2003, 8:50pm UTC](https://boards.straightdope.com/t/speaking-of-counting-methods/159791 "2003-03-07T20:50:08Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![yabob](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/yabob/32/2821_2.png) [@yabob](https://boards.straightdope.com/u/yabob)\
**Post date:** [March 7, 2003, 8:50pm UTC](https://boards.straightdope.com/t/speaking-of-counting-methods/159791/1 "2003-03-07T20:50:08Z")

</div>

That counting method you sometimes see:

A = 1  
B = 2  
…  
Z = 26  
AA = 27  
AB = 28

etc. Is there a formal name for this style of sequencing other than something like “alphabetic numbering” which I might make up off the top of my head?

---

<div class="post-metadata">

**Author:** ![elmwood](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/elmwood/32/3060_2.png) [@elmwood](https://boards.straightdope.com/u/elmwood)\
**Post date:** [March 8, 2003, 7:13pm UTC](https://boards.straightdope.com/t/speaking-of-counting-methods/159791/2 "2003-03-08T19:13:25Z")

</div>

Base 26?

---

<div class="post-metadata">

**Author:** ![Heller\_Highwater](https://avatars.discourse-cdn.com/v4/letter/h/278dde/32.png) [@Heller\_Highwater](https://boards.straightdope.com/u/Heller_Highwater)\
**Post date:** [March 8, 2003, 8:36pm UTC](https://boards.straightdope.com/t/speaking-of-counting-methods/159791/3 "2003-03-08T20:36:28Z")

</div>

Not base 26. That would be:

0=0  
1=1  
2=2  
…  
10=A  
11=B  
…  
24=O  
25=P  
26=10 (or 1,0 to distinguish it from “ten”)

Therefore the base ten representation of AA in base 26 would be 26\*10+10=270, not 27

My best guess for the method given in the OP would be some variation on “alpha-numeric” sequencing, or something like that.

---

<div class="post-metadata">

**Author:** ![Timothy\_Campbell](https://avatars.discourse-cdn.com/v4/letter/t/958977/32.png) [@Timothy\_Campbell](https://boards.straightdope.com/u/Timothy_Campbell)\
**Post date:** [March 8, 2003, 9:37pm UTC](https://boards.straightdope.com/t/speaking-of-counting-methods/159791/4 "2003-03-08T21:37:01Z")

</div>

How about “Natural Base 26”?

Natural Numbers are 1, 2, 3, 4 … (as contrasted with Integers, which include zero).

---

<div class="post-metadata">

**Author:** ![Heller\_Highwater](https://avatars.discourse-cdn.com/v4/letter/h/278dde/32.png) [@Heller\_Highwater](https://boards.straightdope.com/u/Heller_Highwater)\
**Post date:** [March 8, 2003, 9:58pm UTC](https://boards.straightdope.com/t/speaking-of-counting-methods/159791/5 "2003-03-08T21:58:41Z")

</div>

Even so, in the naturals, base 26, 1!=A. Even without zero, you still start with 1=1. And even without the _number_ zero, the _digit_ 0 still exists, in either base.

As an example, the number ten, base ten, is represented by “10” meaning “one ten, zero ones” (or better yet, “one ten-to-the first, zero ten-to-the-zeros”). Similarly, twenty-six, base twenty-six, is “1,0” meaning “one twenty-six, zero ‘ones’” (or “one twenty-six-to-the-first, zero twenty-six-to-the-zeros”).

---

<div class="post-metadata">

**Author:** ![Heller\_Highwater](https://avatars.discourse-cdn.com/v4/letter/h/278dde/32.png) [@Heller\_Highwater](https://boards.straightdope.com/u/Heller_Highwater)\
**Post date:** [March 8, 2003, 10:02pm UTC](https://boards.straightdope.com/t/speaking-of-counting-methods/159791/6 "2003-03-08T22:02:31Z")

</div>

Ahem…that went through a bit too soon by mistake…

As I was going to say, the different bases we are familiar with all share that same method of assigning symbols to the number. With the method given in the OP, that pattern is broken.

---

<div class="post-metadata">

**Author:** ![yabob](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/yabob/32/2821_2.png) [@yabob](https://boards.straightdope.com/u/yabob)\
**Post date:** [March 8, 2003, 10:22pm UTC](https://boards.straightdope.com/t/speaking-of-counting-methods/159791/7 "2003-03-08T22:22:48Z")

</div>

“base” is misleading. There’s no zero placeholder, so even if you bias it to zero:

A = 0  
B = 1  
…  
Z = 25  
AA = 26  
AB = 27

You will note that the “number” can not be interpreted as a sum of multiples of powers of 26. The logic for producing the sequence, biased to zero, is something like this, in fact:

```auto

private static void alphaseq0(int n, StringBuffer buf) {
    if (n >= ALPHABET_LENGTH) {
          alphaseq0(n/ALPHABET_LENGTH - 1,buf);
           n = n % ALPHABET_LENGTH;
     }
      buf.append(ALPHABET.charAt(n));
}

```

I’m not so interested in making up a plausible name, as finding out if somebody in the publishing industry or some such place has actually given it one.

---

<div class="post-metadata">

**Author:** ![ultrafilter](https://avatars.discourse-cdn.com/v4/letter/u/3d9bf3/32.png) [@ultrafilter](https://boards.straightdope.com/u/ultrafilter)\
**Post date:** [March 8, 2003, 11:18pm UTC](https://boards.straightdope.com/t/speaking-of-counting-methods/159791/8 "2003-03-08T23:18:33Z")

</div>

Of course, the symbols associated with each number are completely arbitrary, so that doesn’t eliminate this as a “natural base” 26. And some characterizations of the naturals have no 0.

---

<div class="post-metadata">

**Author:** ![Lone\_Duck](https://avatars.discourse-cdn.com/v4/letter/l/8e8cbc/32.png) [@Lone\_Duck](https://boards.straightdope.com/u/Lone_Duck)\
**Post date:** [March 8, 2003, 11:57pm UTC](https://boards.straightdope.com/t/speaking-of-counting-methods/159791/9 "2003-03-08T23:57:43Z")

</div>

Oh no. Modulo math all over again.

---

<div class="post-metadata">

**Author:** ![Timothy\_Campbell](https://avatars.discourse-cdn.com/v4/letter/t/958977/32.png) [@Timothy\_Campbell](https://boards.straightdope.com/u/Timothy_Campbell)\
**Post date:** [March 9, 2003, 6:18am UTC](https://boards.straightdope.com/t/speaking-of-counting-methods/159791/10 "2003-03-09T06:18:02Z")

</div>

Why not call it “The Yabob System”? If it doesn’t have a name, perhaps you can achieve immortality through the back door, so to speak.

---

<div class="post-metadata">

**Author:** ![Shade](https://avatars.discourse-cdn.com/v4/letter/s/2bfe46/32.png) [@Shade](https://boards.straightdope.com/u/Shade)\
**Post date:** [March 9, 2003, 11:55am UTC](https://boards.straightdope.com/t/speaking-of-counting-methods/159791/11 "2003-03-09T11:55:52Z")

</div>

**Yabob**

Have you seen this anywhere? Labeling lists and such uses A, B, C sometimes - does anone know if this ever goes to AB? (Come on, **Publishers** )

The zero-biased one looks like base-26 to me. (But not the usual symbols for it - something like **base-26, starting at ‘a’ or starting at ‘b’ or based at ‘a’ or something** ) A would be the zero placeholder. Don’t know about the original system, though.

---

<div class="post-metadata">

**Author:** ![C\_K\_Dexter\_Haven](https://avatars.discourse-cdn.com/v4/letter/c/b2d939/32.png) [@C\_K\_Dexter\_Haven](https://boards.straightdope.com/u/C_K_Dexter_Haven)\
**Post date:** [March 9, 2003, 1:43pm UTC](https://boards.straightdope.com/t/speaking-of-counting-methods/159791/12 "2003-03-09T13:43:50Z")

</div>

The identification of letters with numbers is part of numerology. Uusally, however, this just goes up to Zed.

A = 1, B = 2, C = 3, … Z = 26 is one approach. But you wouldn’t take AA = 27, AB =28… You’d just add. If you had a name like the group ABBA, you’d assign 1 + 2 + 2 + 1 = 6 as the numerological value.

A = 1, B = 2, … , J = 10, K = 20, L = 30, … , S = 100, T = 200, … Z = 800 is the more common approach. Gets more numbers involved.

---

<div class="post-metadata">

**Author:** ![yabob](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/yabob/32/2821_2.png) [@yabob](https://boards.straightdope.com/u/yabob)\
**Post date:** [March 9, 2003, 4:23pm UTC](https://boards.straightdope.com/t/speaking-of-counting-methods/159791/13 "2003-03-09T16:23:17Z")

</div>

The one biased to 0 is NOT base 26. if A=0, … Z=25, 26 is represented by “BA”, not “AA”. Like I said, there is no zero placeholder.

I would not call this base anything, biased either way, since you cannot interpret the represenation as a sum of the digits times powers of the base. Turn that code snippet I gave into a recursion formula if you would like a mathematical expression for it. The “-1” is crucial. You can bias it to 1 instead of 0, also - you’ll just have a few more “n-1” ’ s floating around in there.

Yes, I have seen this. In fact, there’s an example right in front of you right now. This is how both IE and Netscape treat \<OL Type=A\> lists. The next item after item “Z” is “AA”, the next “AB”, and so on. Desktop publishing programs which autonumber things often do it this way, to. nroff worked this way.

Documentation of such systems tends to skirt the issue, and avoid calling it anything beyond something like a “numbering style”, showing you by example what “style” A means. Usually not even documenting what happens after the Z’th item.

BTW, Microsoft Word does NOT do this. Autonumbered items in Word work like:

1 - A  
2 - B  
…  
26 - Z  
27 - AA  
28 - BB  
29 - CC  
…

While we’re at it, is there a name for THAT system?
