login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A055640 Number of nonzero digits in decimal expansion of n. 10
0, 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 (list; graph; refs; listen; history; internal format)
OFFSET

0,12

COMMENTS

Also number of characters needed to write the number n in classical Greek alphabetic system, up to n=999. The Greek alphabetic system assigned values to the letters as follows:

alpha = 1, beta = 2, gamma = 3, delta = 4, epsilon = 5, zeta = 7, eta = 8, theta = 9,

iota = 10, kappa = 20, lambda = 30, mu = 40, nu = 50, xi = 60, omicron = 70, pi = 80,

rho = 100, sigma = 200, tau = 300, upsilon = 400, phi = 500, chi = 600, psi = 700, omega = 800.

REFERENCES

L. Threatte, The Greek Alphabet, in The World's Writing Systems, edited by Peter T. Daniels and William Bright, Oxford Univ. Press, 1996. p. 278.

LINKS

Unicode Consortium, Unicode Home Page (Follow the link "Display Problems?" to find an appropriate information/font file to show the Greek characters correctly. Or look at the html-source to see their names).

EXAMPLE

E.g. 129 is written as rho kappa theta in the old Greek system.

PROG

(Haskell)

a055640 n = length $ filter (/= '0') $ show n

-- Reinhard Zumkeller, May 02 2011

CROSSREFS

Cf. A102669 - A102685.

Cf. A004719, A011540, A052382, A061745.

a(n) = A055642(n)-A055641(n).

Differs from A098378 for the first time at position n=200 with a(200)=1, as only one nonzero arabic digit (and only one Greek letter) is needed for two hundred, while A098378(200)=2 as two characters are needed in the Ethiopic system.

Sequence in context: A063056 A174835 * A098378 A160093 A035931 A140438

Adjacent sequences:  A055637 A055638 A055639 * A055641 A055642 A055643

KEYWORD

nonn,base,easy,nice

AUTHOR

Henry Bottomley (se16(AT)btinternet.com), Jun 06 2000

EXTENSIONS

Comments regarding the ancient Greek number system added by Antti Karttunen (his-firstname.his-surname(AT)iki.fi), Sep 05 2004.

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 15 18:57 EST 2012. Contains 205848 sequences.