Function Repository Resource:

# AncientNumberRepresentation

Display the written representation of an integer in any of several ancient number systems, including Babylonian

Contributed by: Eric Weisstein
 ResourceFunction["AncientNumberRepresentation"][n,"numsys"] gives a representation of the integer n based on the numeric system defined by "numsys".

## Details

ResourceFunction["AncientNumberRepresentation"][n,"numsys"] is generally supported for non-negative integers.
Some number systems may not include a representation for the number 0.
Some number systems may have representations defined only up to some finite number n.
Most number systems evolved both in time period and over geographic region; the representation chosen corresponds to the most canonical one available.
In ResourceFunction["AncientNumberRepresentation"][n,"numsys"], possible numeric systems include:
 "Babylonian" Babylonian cuneiform numerals

## Examples

### Basic Examples (2)

Give the Babylonian cuneiform representation of 59:

 In[1]:=
 Out[1]=

Give the Babylonian cuneiform representation of 2019:

 In[2]:=
 Out[2]=

### Properties and Relations (1)

AncientNumberRepresentation extends the functionality of IntegerString to additional numeric systems, including some whose glyphs cannot be easily expressed in string form:

 In[3]:=
 Out[3]=
 In[4]:=
 Out[4]=
 In[5]:=
 Out[5]=
 In[6]:=
 Out[6]=

### Possible Issues (4)

Around the second century BC, the Babylonians used a symbol to denote a blank space or the absence of a number:

 In[7]:=
 Out[7]=

The blank symbol was not, however, used in computation, meaning the numbers with equivalent base-60 expansion after the removal of zeros are indistinguishable:

 In[8]:=
 Out[8]=
 In[9]:=
 Out[9]=

AncientNumberRepresentation will return unevaluated for inapplicable arguments:

 In[10]:=
 Out[10]=
 In[11]:=
 Out[11]=

AncientNumberRepresentation will return unevaluated for unknown numeric systems:

 In[12]:=
 Out[12]=

### Neat Examples (1)

Make a table of Babylonian numerals from 1 to 59:

 In[13]:=
 Out[13]=

## Version History

• 1.2.0 – 27 October 2021

## Author Notes

The Babylonian cuneiform glyphs used here are schematic representations of the more stylized versions appearing in actual Babylonian cuneiform tablets.