# AlphaBot 26

### Main Entry: AlphaBot System Function: noun Description: Alpha-numeric positional notation system Machine instruction-list: alphabot sourcecode Author: Dutch Baker Date: 2K / 2K2^3

#### Full description

1. a word notation system by which each word is expressed in base-26+1(*)
by reading each letter considering its value and position and letting
each position-value be an increasing power of 26+1(*)
2. a system of measurement or language in which the basic units increase
by powers of 26+1(*)
3. a {10,27} base conversion utillity to display words as decimal numbers
4. (*) The latin phonetic alphabet contains 26 elements, A to Z.
We add the Ø (zero or "" empty) element, a 27th element which enables us
to make a positional base-27 character system ranging from Ø to 26.

```
The lookuptable used:

A   B   C   D   E   F   G   H   I   J   K   L   M
1   2   3   4   5   6   7   8   9  10  11  12  13

N   O   P   Q   R   S   T   U   V   W   X   Y   Z
14  15  16  17  18  19  20  21  22  23  24  25  26,

and the 27th element "" (Ø)

The incrementing digits are factors in a base-26+1 positional system.
Starting from the right in each word,
match each charachter of the word to each corresponding base-10 number in the lookuptable.

For example, b-e-t as in the first three characters of the word alphabet,reading the word from the right, looking at the word like it is a number in base 26+1:

20* 27^0;   because t is in 1st position it gets factor ^0  ... as 't' in bet
5 * 27^1;   e is in 2nd position so here it gets factor ^1  ...    'e' in bet
2 * 27^2;   b is in 3rd position, so it gets factor ^2      ...    'b' in bet

Examples of conversion of words into the 10-digit (numeric) notation, using the lookuptable:

"AND"      = 1111:            A*27^2 +  N*27   +  D
=
1*729  + 14*27   +  4

=         729  A
378  N
4  D
____________ +
so "AND"   =                           1111

"THE"      = 14801:           T*27^2 +  H*27   +  E
=
20*729 +  8*27   +  5

=       14580  T
216  H
5  E
____________ +
so "THE"      =                       14801

"ALPHABET" = 15343254407

A*27^7        +  L*27^6      +  P*27^5     + H*27^4   + A*27^3  + B*27^2 + E*27^1 + T*27^0
= 1*27^7        + 12*27^6      + 16*27^5     + 8*27^4   + 1*27^3  + 2*27^2 + 5*27   + 20*1
= 1*10460353203 + 12*387420489 + 16*14348907 + 8*531441 + 1*19683 + 2*729  + 5*27   + 20

= 10460353203  A
4649045868  L
229582512  P
4251528  H
19683  A
1458  B
135  E
20  T
____________ +
so "ALPHABET" =                 15343254407

..."AND THE ALPHABET" reads: ...1111 14801 15343254407.

Example 2

The same conversion vice versa, take a base-10 number and convert it
into a (more compact) base-27 word, for instance base-10 14801 as follows:

14801: Find the largest power-of-27 fitting in 14801, which is 27^2=729,
...and see how many of these 729's fit in 14801,
this gives us a number, which gives us the corresponding character in the lookuptable.

14801 = (first letter * 27^2) + rest

so the 1st letter is "T" (20 in the lookuptable),

rest is 14801 - 20*729 = 221

221 = (2nd letter * 27^1) +  rest

so the 2nd letter is "H" (8 in the lookuptable),

rest is 221 - 8*27 = 5

so "E" must be the last letter (rest is 0) of the word.

and so 14801 = "THE"

The Rosetta Stone example: 14801 7199013322 10502357 ALPHABOT   XORART     -    Sun Aug 13 18:30:52 GMT 2000 H.MM 2K / 2K2^4

```