Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: 0, 0, 0, 0, 4, 9, 5, 1, 1, 0, 55
Displaying 1-2 of 2 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A002904 Delete all letters except c,d,i,l,m,v,x from n then read as Roman numeral if possible, otherwise 0. +20
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; listen)
OFFSET

1,5

CROSSREFS

See A092302 for another version.

Sequence in context: A068238 A087369 A021206 this_sequence A121305 A011513 A164818

Adjacent sequences: A002901 A002902 A002903 this_sequence A002905 A002906 A002907

KEYWORD

nonn,word

AUTHOR

J. H. Conway (conway(AT)math.princeton.edu)

EXTENSIONS

Ambiguous or ill-defined beyond the last term shown.

A121305 Value of Roman numeral embedded in English name of n, or 0 if none. +20
2
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 (list; graph; listen)
OFFSET

0,6

COMMENT

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.

REFERENCES

5.

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.

EXAMPLE

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

Cf. A005589.

Cf. A002904. [From R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Aug 07 2008]

Sequence in context: A087369 A021206 A002904 this_sequence A011513 A164818 A065796

Adjacent sequences: A121302 A121303 A121304 this_sequence A121306 A121307 A121308

KEYWORD

base,easy,nonn,word

AUTHOR

Jonathan Vos Post (jvospost3(AT)gmail.com), Sep 05 2006

page 1

Search completed in 0.024 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified November 23 17:09 EST 2009. Contains 167438 sequences.


AT&T Labs Research