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.

Showing 1-4 of 4 results.

A092302 Delete all letters except c,d,i,l,m,u,v,x from n then read as Roman numeral if possible, otherwise 0.

Original entry on oeis.org

0, 0, 0, 5, 4, 9, 5, 1, 1, 0, 55, 55, 1, 5, 1, 9, 5, 1, 1, 0, 0, 0, 0, 5, 4, 9, 5, 1, 1, 1, 1, 1, 1, 4
Offset: 1

Views

Author

N. J. A. Sloane, following a suggestion of Ray G. Opao, Feb 10 2004

Keywords

Comments

U counts as a V.

Crossrefs

See A002904 for another version.

Extensions

Ambiguous or ill-defined beyond the last term shown.

A121305 Value of Roman numeral embedded in English name of n, or 0 if no such value exists.

Original entry on oeis.org

0, 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, 0, 0, 4, 2, 2, 0, 0, 0, 0, 0, 4, 9, 5, 1, 1, 1, 1, 1, 1, 1, 0, 0, 4, 2, 2, 9, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5, 5, 5, 5, 5, 0, 0, 0, 6, 6, 1, 1, 1, 1, 1, 0, 0, 4, 2, 2, 1, 1, 1, 1, 1, 0, 0, 4, 2, 2, 0
Offset: 0

Views

Author

Jonathan Vos Post, Sep 05 2006

Keywords

Comments

Not well-defined! A002904 is the main entry for this sequence. - N. J. A. Sloane, Sep 28 2011.
There are a finite number of nonzero values because "hunDreD" and "mILLIon" and "bILLIon" and "trILLIon" and so forth yield non-well-formed Roman numerals. The largest n such that a(n) is nonzero is 94044 maps to "nInetyfour thousanD fortyfour" maps to "ID" maps to 499.
Allowing a(94044) = 499 because of "ID" speaks to the non-standard usage (499 = "CDXCIX") that makes this sequence, as mentioned above, not necessarily well-defined. If "ID" is ok, why not "IIV" for a(35)? If we take Mathematica's RomanNumeral conversion as standard (for integers 1-4999; starting with 5000 we generate overbars), then there are 1411 nonzero entries up to and including a(44099) = 502. Specifically, I (30 solutions), II (8), IV (7), V (9), VI (2), IX (9), LV (2), D (272), DI (480), DII (128), DIV (112), DV (144), DVI (32), DIX (144), and DLV (32). - Hans Havermann, May 06 2019

Examples

			a(5) = 4 because 5 maps to "five" maps to "fIVe" maps to "IV" maps to 4.
a(6) = 9 because 6 maps to "six" maps to "sIX" maps to "IX" maps to 9.
a(7) = 5 because 7 maps to "seven" maps to "seVen" maps to "V" maps to 5.
a(8) = 1 because 8 maps to "eight" maps to "eIght" maps to "I" maps to 1.
a(9) = 1 because 9 maps to "nine" maps to "nIne" maps to "I" maps to 1.
a(35) = 0 because 35 maps to "thirty-five" maps to "thIrty-fIVe" maps to "IIV" which is not a well-formed Roman nhumeral, hence maps to 0.
a(1000) = 500 because 1000 maps to "one thousand" maps to "one thousanD" maps to "D" maps to 500.
		

Crossrefs

Formula

Take English name of n as string of characters, eliminate all spaces, hyphens and letters other than I, V, X, L, C, D, M. Interpret remaining string as a Roman numeral, assigning 0 if the string is not well-formed and a(n) is well-formed.

A014287 Value of the name of n as a Roman number, keeping only relevant letters, zero if none (v=u). French version.

Original entry on oeis.org

5, 505, 1, 5, 101, 9, 0, 6, 5, 509, 0, 505, 1, 5, 6, 1, 509, 515, 514, 6, 9, 509, 7, 9, 105, 15, 6, 10, 9, 0, 5, 505, 1, 5, 101, 9, 0, 6, 5, 5, 10, 500, 6, 10, 96, 14, 5, 11, 10, 104, 109, 599, 105, 109, 195, 113, 104, 110, 109, 9, 14, 494, 10, 14
Offset: 1

Views

Author

Keywords

References

  • R. Goscinny and A. Uderzo, Les Aventures d'Astérix le Gaulois, Editions Dargaud.

Crossrefs

Cf. A002904.

Formula

Decimal equivalent of v, dvx, i, v, ci, ix, 0, vi, v, dix, 0, dv, i, v, ...

Extensions

a(2) corrected and more terms from Sean A. Irvine, Oct 18 2018

A097425 a(1) = 500, then a(n) is the concatenation of the roman numerals (I, V, X, L, C, D, M) visible in a(n-1) written in English.

Original entry on oeis.org

500, 15500500, 1510001505011550050050015500500
Offset: 1

Views

Author

Pierre CAMI, Aug 21 2004

Keywords

Examples

			a(1) = 500, which is fIVe hunDreD, so a(2) = concat(1, 5, 500, 500) = 15500500, which is fIVeteen MILLIon fIVe hunDreD thousanD fIVe hunDreD, so a(3) = concat(1, 5, 1000, 1, 50, 50, 1, 1, 5, 500, 500, 500, 1, 5, 500, 500), etc.
		

Crossrefs

Showing 1-4 of 4 results.