[go: up one dir, main page]

login
A349888
Numbers which, when written in English, contain exactly two instances of the letter E.
2
3, 7, 12, 13, 14, 15, 16, 21, 25, 28, 29, 33, 37, 43, 47, 53, 57, 63, 67, 70, 72, 74, 76, 81, 85, 88, 89, 91, 95, 98, 99, 100, 102, 104, 106, 130, 132, 134, 136, 140, 142, 144, 146, 150, 152, 154, 156, 160, 162, 164, 166, 201, 205, 208, 209, 210, 220, 222, 224, 226, 231, 235, 238, 239
OFFSET
1,1
LINKS
EXAMPLE
THREE has two Es (and is thus in the sequence), FOUR has no E, FIVE has only one, SIX has none, SEVEN has two Es (and is thus in the sequence). Etc.
PROG
(Python)
from num2words import num2words
def ok(n): return num2words(n).count("e") == 2
print([k for k in range(311) if ok(k)]) # Michael S. Branicky, Feb 19 2022
CROSSREFS
Cf. A006933 ('Eban' numbers) and A349887 (exactly one instance).
Sequence in context: A351103 A332464 A256563 * A243705 A057927 A298788
KEYWORD
word,nonn
AUTHOR
Eric Angelini, Dec 04 2021
EXTENSIONS
a(7) = 16 inserted by Michael S. Branicky, Feb 19 2022
STATUS
approved