cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A098378 Number of characters needed to write number n in the traditional Ethiopic (Geez) number system.

Original entry on oeis.org

1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 2, 2, 2, 2
Offset: 1

Views

Author

Antti Karttunen, Sep 05 2004

Keywords

Comments

The Ethiopic number system uses the following characters:
፩=1 ፪=2 ፫=3 ፬=4 ፭=5 ፮=6 ፯=7 ፰=8 ፱=9
፲=10 ፳=20 ፴=30 ፵=40 ፶=50 ፷=60 ፸=70 ፹=80 ፺=90
፻=100 ፼=10000
A number is denoted by a sequence of powers of 100, each preceded by a coefficient (2 through 99). In each term of the series, the power 100^n is indicated by n ፻ characters (merged to a digraph ፼ when n=2). The coefficient is indicated by a tens digit and a ones digit, either of which is absent if its value is zero.

Examples

			E.g. the number 2345 is represented as (20+3)*100 + (40+5) = 20 3 100 40 5 = ፳፫፻፵፭, thus a(2345)=5. Also a(999)=4 (፱፻፺፱), a(1000)=2 (፲፻), a(9999)=5 (፺፱፻፺፱), a(10000)=1 (፼), a(1000000)=3 (፻፻፻).
		

References

  • G. Haile, Ethiopic Writing, in The World's Writing Systems, edited by Peter T. Daniels & William Bright, Oxford Univ. Press, 1996. p. 574.

Crossrefs

Differs from A055640 first time at position n=200 (፪ ፻) with a(200)=2, while A055640(200)=1, as only one nonzero Arabic digit (and only one Greek letter) is needed for two hundred.