|
|
A002904
|
|
Delete all letters except c, d, i, l, m, v, x from the English name of n, then read as Roman numeral if possible, otherwise 0.
|
|
4
|
|
|
0, 0, 0, 0, 4, 9, 5, 1, 1, 0, 55, 55, 1, 0, 1, 9, 5, 1, 1, 0, 0, 0, 0, 0, 4, 9, 5, 1, 1, 1, 1, 1, 1, 1
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,5
|
|
COMMENTS
|
From M. F. Hasler, Feb 21 2020: (Start)
There are several standards for Roman numerals, even though experts agree that none of them has ever been universally accepted, cf. references in Wikipedia article.
The current definition of the sequence uses "if possible", so whenever there is a possible interpretation according to any of these standards, it is acceptable.
Non-uniqueness could be caused by rare irregular variants which must be excluded in order to have a well-defined sequence. E.g., iixx will mean 18, not 22, although the standard notation for 18 is xviii (and xiix would also be used sometimes).
If required, the meaning of "possible" must be made more precise (e.g., allowing only "standard subtractive" or additionnally "standard additive" notation; this can be made completely explicit). (End)
|
|
LINKS
|
Table of n, a(n) for n=1..34.
Brady Haran and N. J. A. Sloane, What Number Comes Next? (2018), Numberphile video.
Wikipedia, Roman numerals, as of Feb 19 2020
|
|
EXAMPLE
|
To get a(5), write 5 = "five", delete 'f' & 'e' to get "iv", Roman for 4 = a(5).
To get a(35), write 35 = "thirty five", delete all but 'i's and 'v's, to get "iiv", which is not a legal Roman number*, so a(35) = 0 by definition of the sequence. (*It is never allowed to subtract more than one unit 'I' (or 'X' or 'C') from one of the symbols V, L, D representing 5 times a power of 10, as it is never allowed that one of V, L, D is subtracted from one of I, X, C, M.)
|
|
CROSSREFS
|
See A092302 and A121305 for other versions.
Sequence in context: A087369 A200629 A021206 * A121305 A200396 A011513
Adjacent sequences: A002901 A002902 A002903 * A002905 A002906 A002907
|
|
KEYWORD
|
nonn,word
|
|
AUTHOR
|
J. H. Conway
|
|
STATUS
|
approved
|
|
|
|