login
A362120
a(n) is the smallest positive number whose American English name has the letter "e" in the n-th position.
4
8, 7, 1, 3, 3, 12, 13, 17, 21, 23, 23, 73, 101, 103, 103, 112, 113, 117, 121, 123, 123, 173, 323, 373, 1103, 1103, 1112, 1113, 1117, 1121, 1123, 1123, 1173, 1323, 1373, 3323, 3373, 11373, 13323, 13373, 17373, 23323, 23373, 73373, 101373, 103323, 103373, 111373
OFFSET
1,1
REFERENCES
GCHQ, The GCHQ Puzzle Book, Penguin, 2016. See page 70.
PROG
(Python)
from itertools import count
from num2words import num2words
def A362120(n): return next(filter(lambda k:len(s:=num2words(k).replace('-', '').replace(', ', '').replace(' and ', '').replace(' ', ''))>=n and s[n-1]=='e', count(1))) # Chai Wah Wu, Apr 21 2023
CROSSREFS
See A164790, A362121, A362122 for other versions.
Sequence in context: A255702 A154401 A248582 * A362122 A255699 A343965
KEYWORD
nonn,word
AUTHOR
N. J. A. Sloane, Apr 20 2023.
STATUS
approved