A006944 Number of letters in the n-th ordinal number (in American English).
5, 6, 5, 6, 5, 5, 7, 6, 5, 5, 8, 7, 10, 10, 9, 9, 11, 10, 10, 9, 11, 12, 11, 12, 11, 11, 13, 12, 11, 9, 11, 12, 11, 12, 11, 11, 13, 12, 11, 8, 10, 11, 10, 11, 10, 10, 12, 11, 10, 8, 10, 11, 10, 11, 10, 10, 12, 11, 10, 8, 10, 11, 10, 11, 10, 10, 12, 11, 10, 10, 12, 13, 12, 13, 12, 12
Offset: 1
Examples
"First" has 5 letters, so a(1)=5. Hyphens and spaces are not counted, so, e.g., a(21)=11 ("twenty-first") and a(100)=12 ("one hundredth").
References
- Netnews group rec.puzzles, Frequently Asked Questions (FAQ) file (Science Section).
- N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).
Links
- Jon E. Schoenfield, Table of n, a(n) for n = 1..1000
- Associated Press, Stylebook
- U.S. Government Printing Office, Style Manual 2008
- Wikipedia, 101
- Wikipedia, English numerals
- Wikipedia, Ordinal numbers
- Index entries for sequences related to number of letters in n
Crossrefs
Programs
-
Python
from num2words import num2words def a(n): return sum(1 for c in num2words(n, to='ordinal').replace(" and", "") if c.isalpha()) print([a(n) for n in range(1, 77)]) # Michael S. Branicky, Aug 08 2021 edited Jul 12 2022
Extensions
More terms from Jon E. Schoenfield, Aug 13 2007
Comments