Heptavintimal: Difference between revisions

From TernaryWiki
Jump to navigationJump to search
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<b>Heptavintimal</b> is a base-27 numeral system. (Also called Septemvigesimal in language-related topics.)
<b>Heptavintimal</b> ''(Hep-ta-vin-ti-mal)'' is a base-27 numeral system. (Also called Septemvigesimal in other number topics. Heptavigesimal is also acceptable.)


It is the ternary equivalent of Hexadecimal. Every three trits or trybble is encoded by a Heptavintimal character.
It is the ternary equivalent of Hexadecimal. Every three trits or tribble is encoded by a Heptavintimal character.


A 9-trit Tryte can be written with three Heptavintimal characters. "DDD" would be 0.
A 9-trit Tryte can be written with three Heptavintimal characters. "DDD" would be 0.
Line 15: Line 15:
The 09AQ style of Heptavintimal is the preferred style for the TNINE computer due to it's sequential order when decoding/encoding. The characters 0 - 9 and a - q are put in that very order on the character map. It takes the minimal amount of coding to encode or decode. It's also the most Hexadecimal like and easy to remember.
The 09AQ style of Heptavintimal is the preferred style for the TNINE computer due to it's sequential order when decoding/encoding. The characters 0 - 9 and a - q are put in that very order on the character map. It takes the minimal amount of coding to encode or decode. It's also the most Hexadecimal like and easy to remember.


While I understand the reason behind Douglas W. Jones' form of Heptavintimal, to avoid similarly shaped characters. This can mostly be avoided using a font with distinct enough characters, e.g. Serif fonts when displaying Heptavintimal. It would also take extra work to memorize the characters.
While I understand the reason behind Douglas W. Jones' form of Heptavintimal, to avoid similarly shaped characters. This can mostly be avoided using a font with distinct enough characters, e.g. Serif fonts when displaying Heptavintimal. It would also take extra work to memorize the characters.  
 
The 0KZ style would require a look up table or other coding to decode and encode as the characters do not follow the character map order between after H. Very much like binary ASCII where the numbers are between values 48-57 and the letters are between values 65-90. The gap must be accounted for in coding.
The 0KZ style would require a look up table or other coding to decode and encode as the characters do not follow the character map order between after H. Very much like binary ASCII where the numbers are between values 48-57 and the letters are between values 65-90. The gap must be accounted for in coding.


Line 32: Line 33:
<td>0</td>
<td>0</td>
<td>-13</td>
<td>-13</td>
<td>0</td>
<td>'''0'''</td>
<td>A</td>
<td>A</td>
<td>0</td>
<td>0</td>
Line 40: Line 41:
<td>1</td>
<td>1</td>
<td>-12</td>
<td>-12</td>
<td>1</td>
<td>'''1'''</td>
<td>B</td>
<td>B</td>
<td>A</td>
<td>A</td>
Line 48: Line 49:
<td>2</td>
<td>2</td>
<td>-11</td>
<td>-11</td>
<td>2</td>
<td>'''2'''</td>
<td>C</td>
<td>C</td>
<td>B</td>
<td>B</td>
Line 56: Line 57:
<td>3</td>
<td>3</td>
<td>-10</td>
<td>-10</td>
<td>3</td>
<td>'''3'''</td>
<td>D</td>
<td>D</td>
<td>C</td>
<td>C</td>
Line 64: Line 65:
<td>4</td>
<td>4</td>
<td>-9</td>
<td>-9</td>
<td>4</td>
<td>'''4'''</td>
<td>E</td>
<td>E</td>
<td>D</td>
<td>D</td>
Line 72: Line 73:
<td>5</td>
<td>5</td>
<td>-8</td>
<td>-8</td>
<td>5</td>
<td>'''5'''</td>
<td>F</td>
<td>F</td>
<td>E</td>
<td>E</td>
Line 80: Line 81:
<td>6</td>
<td>6</td>
<td>-7</td>
<td>-7</td>
<td>6</td>
<td>'''6'''</td>
<td>G</td>
<td>G</td>
<td>F</td>
<td>F</td>
Line 88: Line 89:
<td>7</td>
<td>7</td>
<td>-6</td>
<td>-6</td>
<td>7</td>
<td>'''7'''</td>
<td>H</td>
<td>H</td>
<td>G</td>
<td>G</td>
Line 96: Line 97:
<td>8</td>
<td>8</td>
<td>-5</td>
<td>-5</td>
<td>8</td>
<td>'''8'''</td>
<td>I</td>
<td>I</td>
<td>H</td>
<td>H</td>
Line 104: Line 105:
<td>9</td>
<td>9</td>
<td>-4</td>
<td>-4</td>
<td>9</td>
<td>'''9'''</td>
<td>J</td>
<td>J</td>
<td>I</td>
<td>I</td>
Line 112: Line 113:
<td>10</td>
<td>10</td>
<td>-3</td>
<td>-3</td>
<td>A</td>
<td>'''A'''</td>
<td>K</td>
<td>K</td>
<td>J</td>
<td>J</td>
Line 120: Line 121:
<td>11</td>
<td>11</td>
<td>-2</td>
<td>-2</td>
<td>B</td>
<td>'''B'''</td>
<td>L</td>
<td>L</td>
<td>K</td>
<td>K</td>
Line 128: Line 129:
<td>12</td>
<td>12</td>
<td>-1</td>
<td>-1</td>
<td>C</td>
<td>'''C'''</td>
<td>M</td>
<td>M</td>
<td>L</td>
<td>L</td>
Line 136: Line 137:
<td>13</td>
<td>13</td>
<td>0</td>
<td>0</td>
<td>D</td>
<td>'''D'''</td>
<td>N</td>
<td>N</td>
<td>M</td>
<td>M</td>
Line 144: Line 145:
<td>14</td>
<td>14</td>
<td>1</td>
<td>1</td>
<td>E</td>
<td>'''E'''</td>
<td>O</td>
<td>O</td>
<td>N</td>
<td>N</td>
Line 152: Line 153:
<td>15</td>
<td>15</td>
<td>2</td>
<td>2</td>
<td>F</td>
<td>'''F'''</td>
<td>P</td>
<td>P</td>
<td>O</td>
<td>O</td>
Line 160: Line 161:
<td>16</td>
<td>16</td>
<td>3</td>
<td>3</td>
<td>G</td>
<td>'''G'''</td>
<td>Q</td>
<td>Q</td>
<td>P</td>
<td>P</td>
Line 168: Line 169:
<td>17</td>
<td>17</td>
<td>4</td>
<td>4</td>
<td>H</td>
<td>'''H'''</td>
<td>R</td>
<td>R</td>
<td>Q</td>
<td>Q</td>
Line 176: Line 177:
<td>18</td>
<td>18</td>
<td>5</td>
<td>5</td>
<td>I</td>
<td>'''I'''</td>
<td>S</td>
<td>S</td>
<td>R</td>
<td>R</td>
Line 184: Line 185:
<td>19</td>
<td>19</td>
<td>6</td>
<td>6</td>
<td>J</td>
<td>'''J'''</td>
<td>T</td>
<td>T</td>
<td>S</td>
<td>S</td>
Line 192: Line 193:
<td>20</td>
<td>20</td>
<td>7</td>
<td>7</td>
<td>K</td>
<td>'''K'''</td>
<td>U</td>
<td>U</td>
<td>T</td>
<td>T</td>
Line 200: Line 201:
<td>21</td>
<td>21</td>
<td>8</td>
<td>8</td>
<td>L</td>
<td>'''L'''</td>
<td>V</td>
<td>V</td>
<td>U</td>
<td>U</td>
Line 208: Line 209:
<td>22</td>
<td>22</td>
<td>9</td>
<td>9</td>
<td>M</td>
<td>'''M'''</td>
<td>W</td>
<td>W</td>
<td>V</td>
<td>V</td>
Line 216: Line 217:
<td>23</td>
<td>23</td>
<td>10</td>
<td>10</td>
<td>N</td>
<td>'''N'''</td>
<td>X</td>
<td>X</td>
<td>W</td>
<td>W</td>
Line 224: Line 225:
<td>24</td>
<td>24</td>
<td>11</td>
<td>11</td>
<td>O</td>
<td>'''O'''</td>
<td>Y</td>
<td>Y</td>
<td>X</td>
<td>X</td>
Line 232: Line 233:
<td>25</td>
<td>25</td>
<td>12</td>
<td>12</td>
<td>P</td>
<td>'''P'''</td>
<td>Z</td>
<td>Z</td>
<td>Y</td>
<td>Y</td>
Line 240: Line 241:
<td>26</td>
<td>26</td>
<td>13</td>
<td>13</td>
<td>Q</td>
<td>'''Q'''</td>
<td>0</td>
<td>0</td>
<td>Z</td>
<td>Z</td>

Latest revision as of 00:08, 5 August 2025

Heptavintimal (Hep-ta-vin-ti-mal) is a base-27 numeral system. (Also called Septemvigesimal in other number topics. Heptavigesimal is also acceptable.)

It is the ternary equivalent of Hexadecimal. Every three trits or tribble is encoded by a Heptavintimal character.

A 9-trit Tryte can be written with three Heptavintimal characters. "DDD" would be 0.

Styles

  • 09AQ (Preferred style for the TNINE)
  • AZ0
  • 0AZ
  • 0KZ

Preferred Style

The 09AQ style of Heptavintimal is the preferred style for the TNINE computer due to it's sequential order when decoding/encoding. The characters 0 - 9 and a - q are put in that very order on the character map. It takes the minimal amount of coding to encode or decode. It's also the most Hexadecimal like and easy to remember.

While I understand the reason behind Douglas W. Jones' form of Heptavintimal, to avoid similarly shaped characters. This can mostly be avoided using a font with distinct enough characters, e.g. Serif fonts when displaying Heptavintimal. It would also take extra work to memorize the characters.

The 0KZ style would require a look up table or other coding to decode and encode as the characters do not follow the character map order between after H. Very much like binary ASCII where the numbers are between values 48-57 and the letters are between values 65-90. The gap must be accounted for in coding.

Chart

Unbalanced
Decimal
Balanced
Decimal
09AQ AZ0 0AZ 0KZ
0 -13 0 A 0 0
1 -12 1 B A 1
2 -11 2 C B 2
3 -10 3 D C 3
4 -9 4 E D 4
5 -8 5 F E 5
6 -7 6 G F 6
7 -6 7 H G 7
8 -5 8 I H 8
9 -4 9 J I 9
10 -3 A K J A
11 -2 B L K B
12 -1 C M L C
13 0 D N M D
14 1 E O N E
15 2 F P O F
16 3 G Q P G
17 4 H R Q H
18 5 I S R K
19 6 J T S M
20 7 K U T N
21 8 L V U P
22 9 M W V R
23 10 N X W T
24 11 O Y X V
25 12 P Z Y X
26 13 Q 0 Z Z

References